13 lines
420 B
JavaScript
13 lines
420 B
JavaScript
module.exports = {
|
|
rootDir: '.',
|
|
testEnvironment: 'node',
|
|
testMatch: ['<rootDir>/tests/**/*.test.cjs'],
|
|
moduleNameMapper: { '^@/(.*)$': '<rootDir>/$1' },
|
|
transform: {
|
|
'^.+\\.tsx?$': ['ts-jest', { tsconfig: {
|
|
target: 'ES2022', module: 'commonjs', moduleResolution: 'node', jsx: 'react-jsx',
|
|
esModuleInterop: true, skipLibCheck: true, isolatedModules: true,
|
|
}, diagnostics: false }],
|
|
},
|
|
};
|