diff --git a/frontend/jest.config.ts b/frontend/jest.config.ts index 3265e9c8c..3f1e85192 100644 --- a/frontend/jest.config.ts +++ b/frontend/jest.config.ts @@ -12,7 +12,7 @@ const createJestConfig = nextJest({ // Add any custom config to be passed to Jest const customJestConfig = { - setupFilesAfterEnv: ['@testing-library/jest-dom/extend-expect'], + setupFilesAfterEnv: ['@testing-library/jest-dom/jest-globals'], moduleNameMapper: { // Handle module aliases (this will be automatically configured for you soon) '^@/components/(.*)$': '/src/components/$1',