We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5499d8 commit 6e1d67bCopy full SHA for 6e1d67b
jest.config.js
@@ -1,15 +1,12 @@
1
-/** @type {import('ts-jest').JestConfigWithTsJest} */
2
module.exports = {
3
transform: {
4
'^.+\\.ts$': [
5
'ts-jest',
6
{
7
- tsconfig: 'tsconfig.test.json',
8
- useESM: true,
+ tsconfig: 'tsconfig.json',
9
},
10
],
11
12
- extensionsToTreatAsEsm: ['.ts'],
13
moduleFileExtensions: ['ts', 'js'],
14
testRegex: '^.+\\.(spec|test)\\.(ts|js)$',
15
snapshotSerializers: ['jest-serializer-html-string'],
@@ -18,7 +15,6 @@ module.exports = {
18
'jest-watch-typeahead/testname',
19
16
20
17
moduleNameMapper: {
21
- '^(\\.{1,2}/.*)\\.js$': '$1',
22
'@hypermod/(.*)$': '<rootDir>/packages/$1/src',
23
'@codeshift/(.*)$': '<rootDir>/packages/$1/src',
24
tsconfig.test.json
0 commit comments