Browse Source

fix testing libs versioning

AykutSarac 3 years ago
parent
commit
29c55ce754
1 changed files with 1 additions and 1 deletions
  1. 1 1
      jest.config.ts

+ 1 - 1
jest.config.ts

@@ -8,7 +8,7 @@ const createJestConfig = nextJest({
 // Add any custom config to be passed to Jest
 const customJestConfig = {
   setupFilesAfterEnv: ["<rootDir>/jest.setup.ts"],
-  testEnvironment: "jest-environment-jsdom",
+  testEnvironment: "jsdom",
   moduleDirectories: ["node_modules", "src"],
   modulePaths: ["<rootDir>"]
 };