diff --git a/tests/util/time.test.ts b/tests/util/time.test.ts index a8a31aca..fcd565ca 100644 --- a/tests/util/time.test.ts +++ b/tests/util/time.test.ts @@ -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 });