Skip to content

Commit

Permalink
Simplify @testing-library/jest-dom config
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Nov 2, 2023
1 parent 66ec521 commit d3cfd8a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/react-clock/vitest.setup.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { expect, afterEach } from 'vitest';
import { afterEach } from 'vitest';
import { cleanup } from '@testing-library/react';
import matchers from '@testing-library/jest-dom/matchers';

expect.extend(matchers);
import '@testing-library/jest-dom/vitest';

afterEach(() => {
cleanup();
Expand Down

0 comments on commit d3cfd8a

Please sign in to comment.