Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update time.test.ts
Browse files Browse the repository at this point in the history
GhostOf0days authored Jan 13, 2024
1 parent 4d79c31 commit e1501d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/util/time.test.ts
Original file line number Diff line number Diff line change
@@ -288,5 +288,5 @@ test('getNextTimeSlot', () => {
expect(getNextTimeSlot([A, B], makeDateTime(0, 0, 0))).toEqual(A);
expect(getNextTimeSlot([], makeDateTime(0, 0, 0))).toEqual(null);
expect(getNextTimeSlot([A], makeDateTime(6, 0, 0))).toEqual(A);
expect(() => getNextTimeSlot([B, A], makeDateTime(3, 3, 3))).toThrow(); //[B,A] is improperly sorted
expect(() => getNextTimeSlot([B, A], makeDateTime(3, 3, 3))).toThrow(); // [B,A] is improperly sorted
});

0 comments on commit e1501d2

Please sign in to comment.