Skip to content

Commit 651ad6b

Browse files
update jest config
1 parent 5c83d73 commit 651ad6b

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

jest.config.js

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,8 @@ module.exports = {
22
preset: 'ts-jest',
33
testEnvironment: 'node',
44
transform: {
5-
'^.+\\.(ts|tsx)$': [
6-
'ts-jest',
7-
{
8-
isolatedModules: true, // This is an example option; you can adjust based on your needs
9-
},
10-
],
5+
'^.+\\.(ts|tsx)$': ['ts-jest', {}],
116
},
12-
testMatch: ['**/tests/**/*.test.ts'], // Adjust this based on your test folder structure
7+
testMatch: ['**/tests/**/*.test.ts'],
138
moduleFileExtensions: ['ts', 'js', 'json', 'node'],
14-
globals: {
15-
'ts-jest': {
16-
isolatedModules: true, // Helps for faster builds
17-
},
18-
},
199
};

0 commit comments

Comments
 (0)