Update `jest.config.js` ts-jest section with lower-cased 'tsconfig' property as 'tsConfig' is to be deprecated in version 27.
10 lines
267 B
JavaScript
10 lines
267 B
JavaScript
module.exports = {
|
|
preset: '../../jest.preset.js',
|
|
transform: {
|
|
'^.+\\.[tj]sx?$': 'ts-jest',
|
|
},
|
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'html'],
|
|
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
|
displayName: 'angular',
|
|
};
|