Skip to content
This repository was archived by the owner on Jul 11, 2026. It is now read-only.

CR OK#44

Open
EstherManrique wants to merge 14 commits into
Laboratoria:masterfrom
EstherManrique:master
Open

CR OK#44
EstherManrique wants to merge 14 commits into
Laboratoria:masterfrom
EstherManrique:master

Conversation

@EstherManrique

Copy link
Copy Markdown

No description provided.

@reloadercf reloadercf left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Me parece que tu código tiene buenas practicas, lo que puedes mejorar es: el uso de .gitignore, también puedes mejorar la forma en como defines algunas funciones, me gusta mucho la separación de las responsabilidades que tiene cada función y que son independientes una de la otra (esto es modulaoización)

Comment thread .gitignore Outdated
@@ -0,0 +1 @@
node_modules

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Esto es una muy buena practica, todos los proyectos debes tener el archivo .gitignore para excluir elementos como node_modules, recomiendo excluir package-lock.json

Comment thread .vscode/settings.json
@@ -0,0 +1,3 @@
{

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Este archivo debes excluirlo en el .gitignore

Comment thread README.md
@@ -12,344 +12,40 @@ Estos archivos `Markdown` normalmente contienen _links_ (vínculos/ligas) que
muchas veces están rotos o ya no son válidos y eso perjudica mucho el valor de

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Te recomiendo que tu archivo README tenga información de tu librería pensada para cualquier usuario que visite el repositorio, puedes agregar capturas de pantalla ó videos sobre la instalación.

Comment thread files/links.md
@@ -0,0 +1,7 @@
- [Asíncronía en js](https://carlosazaustre.com/manejando-la-asincronia-en-javascript/)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

este archivo debe de estar en la carpeta con nombre assets y a su vez excluida en .gitignore

Comment thread files/myFile.md
@@ -0,0 +1,14 @@
[Markdown](https://es.wikipedia.org/wiki/Markdown) es un lenguaje de marcado

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Traslada a la carpeta assets

Comment thread text.md
@@ -0,0 +1,16 @@
1. Debemos poder leer un archivo.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agregar a assets y excluir

Comment thread text1.md
@@ -0,0 +1,3 @@
# PRBANDO ARCHIVO SIN LINKS

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agregar a assets y excluir

Comment thread test.spec.js Outdated
});
});

describe('readFile', () =>{

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
describe('readFile', () =>{
describe('getUri', () =>{

Comment thread test.spec.js
expect(typeof readFile).toBe('function');
});
});

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

puedes tener el siguiente test

Suggested change
describe('readFile', () => {
it('Get all text of the file', () => {
let functionReadFile=readFile("README.md")
expect(typeof functionReadFile).toBe('string');
});
});

Comment thread test.spec.js Outdated

describe('validateLinks', () => {
it('Should return an status 200 if the link is OK', () => {
expect(result.status).toBe(200);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Testear la función que genera el CLI

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants