Skip to content

Commit

Permalink
fix: add dayjs config in test (#542)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoannfleurydev authored Oct 25, 2024
1 parent cf5adc1 commit 2e44832
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tests/setup.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { cleanup } from '@testing-library/react';
import { afterEach, vi } from 'vitest';

import '@/lib/dayjs/config';

afterEach(cleanup);

Object.defineProperty(window, 'matchMedia', {
Expand Down

0 comments on commit 2e44832

Please sign in to comment.