Skip to content

Commit

Permalink
MV #20 #2 : Incluida comprobacion array reviews
Browse files Browse the repository at this point in the history
  • Loading branch information
LCinder committed Oct 26, 2021
1 parent e2c5b07 commit 6d6b6ac
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,10 @@ describe("Quiero obtener informacion de una pelicula", () => {
assert.property(movie, "overview");
assert.isNotEmpty(movie.overview);
});
it("Reviews deberia ser un array y no estar vacio", () => {
assert.isArray(movie.reviews);
assert.isNotEmpty(movie.reviews);
console.log(movie.toString());

});
});

0 comments on commit 6d6b6ac

Please sign in to comment.