You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
652 B
23 lines
652 B
3 years ago
|
module.exports = {
|
||
|
displayName: 'ui',
|
||
3 years ago
|
|
||
3 years ago
|
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
|
||
|
globals: {
|
||
|
'ts-jest': {
|
||
|
tsconfig: '<rootDir>/tsconfig.spec.json',
|
||
|
stringifyContentPathRegex: '\\.(html|svg)$'
|
||
|
}
|
||
|
},
|
||
|
coverageDirectory: '../../coverage/libs/ui',
|
||
|
transform: {
|
||
3 years ago
|
'^.+.(ts|mjs|js|html)$': 'jest-preset-angular'
|
||
3 years ago
|
},
|
||
3 years ago
|
transformIgnorePatterns: ['node_modules/(?!.*.mjs$)'],
|
||
3 years ago
|
snapshotSerializers: [
|
||
|
'jest-preset-angular/build/serializers/no-ng-attributes',
|
||
|
'jest-preset-angular/build/serializers/ng-snapshot',
|
||
|
'jest-preset-angular/build/serializers/html-comment'
|
||
3 years ago
|
],
|
||
|
preset: '../../jest.preset.ts'
|
||
3 years ago
|
};
|