diff --git a/packages/react-date-picker/vitest.setup.ts b/packages/react-date-picker/vitest.setup.ts index b2e7e916..d016f5a5 100644 --- a/packages/react-date-picker/vitest.setup.ts +++ b/packages/react-date-picker/vitest.setup.ts @@ -1,10 +1,8 @@ -import { expect, afterEach } from 'vitest'; +import { afterEach } from 'vitest'; import { cleanup } from '@testing-library/react'; -import matchers from '@testing-library/jest-dom/matchers'; +import '@testing-library/jest-dom/vitest'; import 'vitest-canvas-mock'; -expect.extend(matchers); - afterEach(() => { cleanup(); });