We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a2f7e03 + e810adc commit a5a7998Copy full SHA for a5a7998
jest.config.js
@@ -9,6 +9,6 @@ module.exports = {
9
modulePathIgnorePatterns: ["<rootDir>/dist"],
10
preset: "ts-jest",
11
roots: ["<rootDir>/src"],
12
- setupFilesAfterEnv: ["<rootDir>/src/setupTests.ts"],
+ setupFilesAfterEnv: ["<rootDir>/src/setupTests.ts", "jest-extended"],
13
testEnvironment: "jsdom",
14
};
src/setupTests.ts
@@ -1,7 +1,6 @@
1
import "@testing-library/jest-dom/extend-expect";
2
import { GlobalWithFetchMock } from "jest-fetch-mock";
3
4
-require("jest-extended");
5
// require("tests/factories");
6
7
const customGlobal: GlobalWithFetchMock = global as GlobalWithFetchMock;
0 commit comments