Skip to content

Commit

Permalink
fix: add dayjs config in test
Browse files Browse the repository at this point in the history
  • Loading branch information
yoannfleurydev committed Oct 21, 2024
1 parent 2bb986d commit b6c5575
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 b6c5575

Please sign in to comment.