We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ce4448 commit 07c7b89Copy full SHA for 07c7b89
jest.config.js
@@ -7,9 +7,16 @@ const createJestConfig = nextJest({
7
});
8
9
// Add any custom config to be passed to Jest
10
+/** @type {import('@jest/types').Config.InitialOptions} */
11
const customJestConfig = {
12
+ moduleNameMapper: {
13
+ isows: "<rootDir>/node_modules/isows/_cjs/index.js", // https://github.com/wagmi-dev/viem/issues/1329
14
+ },
15
setupFilesAfterEnv: ["<rootDir>/jest.setup.js"],
16
testEnvironment: "jest-environment-jsdom",
17
+ transformIgnorePatterns: [
18
+ "node_modules/(?!isows/)", // https://github.com/wagmi-dev/viem/issues/1329
19
+ ],
20
testPathIgnorePatterns: [
21
"<rootDir>/.next/",
22
"<rootDir>/node_modules/",
0 commit comments