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 24, 2024
1 parent c7cb9b4 commit 25a53a0
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 25a53a0

Please sign in to comment.