Skip to content

Commit 7fbbb1e

Browse files
author
Bruno Rocha
committed
Update jest config
1 parent e2fa196 commit 7fbbb1e

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

jest.config.js

+11-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
module.exports = {
2-
preset: "ts-jest",
3-
testEnvironment: "node",
1+
export default {
2+
transform: {},
3+
extensionsToTreatAsEsm: ['.ts'],
4+
moduleNameMapper: {},
5+
testEnvironment: 'node',
6+
preset: 'ts-jest/presets/default-esm',
7+
globals: {
8+
'ts-jest': {
9+
useESM: true,
10+
},
11+
},
412
};

0 commit comments

Comments
 (0)