Skip to content

Commit

Permalink
Fixed broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jirkapok committed Aug 22, 2024
1 parent 9dccfb4 commit e53267b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions projects/planner/src/app/shared/planner.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ describe('PlannerService', () => {
expect(tanksService.firstTank.tank.reserve).toEqual(78);
});

it('109 bar remaining gas', () => {
expect(tanksService.firstTank.tank.endPressure).toEqual(123);
it('124 bar remaining gas', () => {
expect(tanksService.firstTank.tank.endPressure).toEqual(124);
});
});

Expand Down
2 changes: 1 addition & 1 deletion projects/planner/src/app/shared/preferencesStore.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ describe('PreferencesStore', () => {
planner.calculate(1); // not called automatically
const expected1 = new Tank(15, 150, 21);
expected1.id = 1;
expected1.consumed = 66;
expected1.consumed = 65;
expected1.reserve = 45;
const expected2 = new Tank(11.1, 200, 50);
expected2.id = 2;
Expand Down

0 comments on commit e53267b

Please sign in to comment.