Skip to content

Commit 37a9272

Browse files
supress esmodule interop warnings from ts-jest
1 parent c945c13 commit 37a9272

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

jest.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
module.exports = {
22
testEnvironment: "node",
33
preset: "ts-jest",
4+
globals: {
5+
"ts-jest": {
6+
tsconfig: "tsconfig.cjs.json"
7+
}
8+
}
49
};

0 commit comments

Comments
 (0)