Skip to content

Commit

Permalink
debubg: tests 2
Browse files Browse the repository at this point in the history
  • Loading branch information
whiitex committed May 19, 2024
1 parent dff77a4 commit 542e5dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/src/timeslots/timeslots.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -910,10 +910,10 @@ describe('TimeslotsController', () => {
expect(allAvailabilities).toHaveLength(mockAvailability.length);
});

it('DEBUG: check availabilities for timeslot having id 71', async () => {
it('DEBUG: check availabilities for timeslot having id 71 & 73', async () => {
const allAvailabilities = await availabilityService.listAvailabilities();
const av71 = allAvailabilities.filter((a) => a.timeSlot.id === 71);
const av73 = allAvailabilities.filter((a) => a.timeSlot.id === 73);
const av71 = allAvailabilities.filter((a) => a.timeSlotId === 71);
const av73 = allAvailabilities.filter((a) => a.timeSlotId === 73);
expect(av71).toHaveLength(4);
expect(av73).toHaveLength(2);
});
Expand Down

0 comments on commit 542e5dc

Please sign in to comment.