Skip to content

Commit

Permalink
Fixed missing declaration in test
Browse files Browse the repository at this point in the history
  • Loading branch information
personofnorank committed Oct 10, 2024
1 parent 3f6d97b commit 7c854df
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,7 @@ test('should handle custom range with previous calendar month', () => {
});

test('should return the first day of the previous calendar quarter when current date is in Q4', () => {
now = new date('2023-11-15T00:00:00Z');
const result = getTimeOffset('previous calendar quarter', false, now);
expect(result).toEqual(new Date('2023-07-01T00:00:00Z'));
});
Expand Down

0 comments on commit 7c854df

Please sign in to comment.