v10.1.0
#1390
Replies: 1 comment 1 reply
-
@cspotcode just trying this out with the code below from jestjs/jest#11453 (comment) :
{
"ts-node": {
"moduleTypes": {
"jest.config.ts": "cjs"
}
},
"compilerOptions": {
"module": "es2020",
"target": "es2020"
}
}
import type { Config } from '@jest/types';
const config: Config.InitialOptions = {
moduleFileExtensions: ['ts', 'tsx', 'js'],
moduleNameMapper: {
'^(.*)\\.js$': '$1',
},
testEnvironment: 'jest-environment-node',
transformIgnorePatterns: [
'node_modules/(?!aggregate-error|clean-stack|escape-string-regexp|indent-string|p-map)',
],
};
export default config; ...and it seems like for some reason I don't need the Is this expected? 🤔
{
"compilerOptions": {
"target": "es2020",
"lib": [
"es2019",
"DOM",
"es2020.promise",
"es2020.bigint",
"es2020.string",
"ESNext.String"
],
"strict": true,
"noEmit": true,
"jsx": "react",
"esModuleInterop": true,
"downlevelIteration": true,
"resolveJsonModule": true,
"noImplicitAny": true,
"allowJs": true,
"checkJs": true,
"skipLibCheck": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"module": "esnext",
"moduleResolution": "node",
"isolatedModules": true
}
} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Discussion thread for the v10.1.0 release.
Release notes
Beta Was this translation helpful? Give feedback.
All reactions