-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pull request datalovers #36
base: master
Are you sure you want to change the base?
Conversation
docs/data.js
Outdated
@@ -21,7 +21,7 @@ export function filterWeak(elementoW) { | |||
} | |||
export function printData(cosaParaimprimir, printPalce) { | |||
cosaParaimprimir.forEach((pokemons) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Evitemos el uso de nombres de variables como este, no es muy descriptivo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Me refiero a "cosaParaImprimir"
@@ -66,7 +66,7 @@ export function numberOfCandys() { | |||
|
|||
function pokemonName() { | |||
const showResulterPokemon = document.getElementById('result2'); | |||
const putImagen = document.getElementById('imgPokedex'); | |||
// const putImagen = document.getElementById('imgPokedex'); | |||
const nameInserted = document.getElementById('NamePokemon2').value; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Código que no se utiliza, debemos borrarlo :)
expect(typeof candys).toBe('function'); | ||
}); | ||
it('desbería regresar el atributo candy_acount del arreglo cuando se escribe el nombre de un pokemon', () => { | ||
it('should return candy_count from the array when you type the pokemons name', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excelente!!!! Que bueno que lo cambiaron a inglés! 💃
expect(typeof printData).toBe('function'); | ||
}); | ||
}); | ||
describe('printInfoPokemon', () => { | ||
it('debe ser una función', () => { | ||
it('should be a function', () => { | ||
expect(typeof printInfoPokemon).toBe('function'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Que bueno que hayan hecho sus pruebas unitarias!! Muchas felicidades!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excelente trabajo chicas!!! Cada día se superan más y más! Felicidades!
No description provided.