Skip to content

Commit 3b8f66a

Browse files
fix: fis jest config for ts-jest access
1 parent deacfed commit 3b8f66a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

config/jest.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
const path = require('path');
22
const fs = require('fs');
3-
const { jsWithTs: tsjPreset } = require('ts-jest/presets');
43

54
const presets = require('../lib/presets');
65

@@ -40,6 +39,6 @@ module.exports = {
4039
configFile: presets.babel.resolvedFilepath,
4140
},
4241
],
43-
...tsjPreset.transform,
42+
'^.+\\.[tj]sx?$': path.resolve(__dirname, '../node_modules/.bin/ts-jest'),
4443
},
4544
};

0 commit comments

Comments
 (0)