Skip to content

Commit

Permalink
fix(test): fix test month
Browse files Browse the repository at this point in the history
  • Loading branch information
sebimarkgraf committed Feb 19, 2024
1 parent db2e15b commit 59a0283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/__tests__/api.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import 'dayjs/locale/tr';

describe('API TESTS', () => {
test('should display the passed date', () => {
const selectedDate = new Date(2020, 12, 19);
const selectedDate = new Date(2020, 11, 19);
const month = selectedDate.toLocaleString('en-US', { month: 'long' });

render(<DateTimePicker mode="single" date={selectedDate} />);
Expand Down

0 comments on commit 59a0283

Please sign in to comment.