- Sets default testEnvironment to web - Updates node generators to specify testEnvironment: node - Provides migrations to update existing jest.config.js files - Bump angular-preset-jest to latest ISSUES CLOSED: #5771
11 lines
272 B
TypeScript
11 lines
272 B
TypeScript
export = {
|
|
testMatch: ['**/+(*.)+(spec|test).+(ts|js)?(x)'],
|
|
resolver: '@nrwl/jest/plugins/resolver',
|
|
moduleFileExtensions: ['ts', 'js', 'html'],
|
|
coverageReporters: ['html'],
|
|
transform: {
|
|
'^.+\\.(ts|js|html)$': 'ts-jest',
|
|
},
|
|
testEnvironment: 'jsdom',
|
|
};
|