Skip to content
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

Open
wants to merge 24 commits into
base: master
Choose a base branch
from
Open

pull request datalovers #36

wants to merge 24 commits into from

Conversation

shari12
Copy link

@shari12 shari12 commented Mar 17, 2020

No description provided.

docs/data.js Outdated
@@ -21,7 +21,7 @@ export function filterWeak(elementoW) {
}
export function printData(cosaParaimprimir, printPalce) {
cosaParaimprimir.forEach((pokemons) => {
Copy link
Contributor

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.

Copy link
Contributor

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;
Copy link
Contributor

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', () => {
Copy link
Contributor

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');
Copy link
Contributor

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!!

Copy link
Contributor

@AdrianaHY AdrianaHY left a 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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants