Skip to content

Commit 7209cde

Browse files
committed
update config to include setup
1 parent 181f096 commit 7209cde

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

jest.config.mjs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default {
1212
},
1313
roots: ["<rootDir>/tests"],
1414
testPathIgnorePatterns: ["\.browser\.(spec|test)\.[jt]sx?$", "/tests/wire/", "/tests/integration/"],
15-
setupFilesAfterEnv: [],
15+
setupFilesAfterEnv: ["<rootDir>/tests/setup.ts", "<rootDir>/tests/bigint.setup.ts"],
1616
transformIgnorePatterns: ["node_modules/(?!(msw|@mswjs|@bundled-es-modules|until-async)/)"],
1717
transform: {
1818
"^.+\\.tsx?$": "ts-jest",
@@ -27,7 +27,11 @@ export default {
2727
"^(\.{1,2}/.*)\.js$": "$1",
2828
},
2929
roots: ["<rootDir>/tests/wire"],
30-
setupFilesAfterEnv: ["<rootDir>/tests/mock-server/setup.ts"],
30+
setupFilesAfterEnv: [
31+
"<rootDir>/tests/setup.ts",
32+
"<rootDir>/tests/bigint.setup.ts",
33+
"<rootDir>/tests/mock-server/setup.ts"
34+
],
3135
transformIgnorePatterns: ["node_modules/(?!(msw|@mswjs|@bundled-es-modules|until-async)/)"],
3236
transform: {
3337
"^.+\\.tsx?$": "ts-jest",

0 commit comments

Comments
 (0)