Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
rinick committed Apr 25, 2024
1 parent b6885c2 commit 0652bc3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ describe('ScheduleEvent', function () {
let event = ScheduleEvent.fromProperty({repeat: 'daily', start: [1, 23], duration: 60});
expect(event.repeat).toBe('daily');
expect(event.start).toEqual([1, 23]);
expect(event.durationMs).toEqual(3600_000);
expect(event.durationMs).toEqual(3599_999);

event = ScheduleEvent.fromProperty({repeat: 'weekly', start: [2, 34], days: [1, 3, 5], duration: 60});
expect(event.days).toEqual([1, 3, 5]);
Expand Down

0 comments on commit 0652bc3

Please sign in to comment.