Skip to content

Commit

Permalink
Corrige errores de test y enunciados en la homework 03-JS-II
Browse files Browse the repository at this point in the history
  • Loading branch information
elenaGonzalez authored and atralice committed Jan 20, 2021
1 parent 91d1b56 commit 53205b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion 03-JS-II/homework/homework.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ function esVerdadero(valor){
}

function tablaDelSeis(){
//Escribe una función que muestre la tabla de multiplicar del 6 (del 6 al 60).
//Escribe una función que muestre la tabla de multiplicar del 6 (del 0 al 60).
//La función devuelve un array con los resultados de la tabla de multiplicar del 6 en orden creciente.
//Escribe tu código aquí

Expand Down
8 changes: 4 additions & 4 deletions 03-JS-II/homework/tests/JSII.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,11 @@ describe('esPrimo(num)', function() {
});

describe ('esVerdadero(valor)', function() {
it('should return true if valor is true', function() {
expect(esVerdadero(true)).toBe(true);
it('should return Soy verdadero if valor is true', function() {
expect(esVerdadero(true)).toBe("Soy verdadero");
});
it('should return false if valor is false', function() {
expect(esVerdadero(false)).toBe(false);
it('should return Soy falso if valor is false', function() {
expect(esVerdadero(false)).toBe("Soy falso");
});
});

Expand Down

0 comments on commit 53205b4

Please sign in to comment.