Skip to content
This repository was archived by the owner on Jan 18, 2019. It is now read-only.

Commit add3da2

Browse files
Tema 2.start-here. Correct the maxHp expectation
According to the guide, it's default value is zero instead of 15.
1 parent a1968db commit add3da2

File tree

1 file changed

+1
-1
lines changed
  • es/02-javascript/02-practica/start-here/spec

1 file changed

+1
-1
lines changed

es/02-javascript/02-practica/start-here/spec/entities.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ describe('Entities library', function () {
8484
expect(character.mp).toBe(0);
8585
expect(character.hp).toBe(0);
8686
expect(character.maxMp).toBe(0);
87-
expect(character.maxHp).toBe(15);
87+
expect(character.maxHp).toBe(0);
8888
});
8989

9090
it('allows to create characters with specific features.', function () {

0 commit comments

Comments
 (0)