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.
24 lines
735 B
24 lines
735 B
4 years ago
|
module.exports = {
|
||
|
displayName: 'client',
|
||
|
preset: '../../jest.preset.js',
|
||
|
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
|
||
|
globals: {
|
||
|
'ts-jest': {
|
||
|
tsconfig: '<rootDir>/tsconfig.spec.json',
|
||
|
stringifyContentPathRegex: '\\.(html|svg)$',
|
||
|
astTransformers: {
|
||
|
before: [
|
||
|
'jest-preset-angular/build/InlineFilesTransformer',
|
||
|
'jest-preset-angular/build/StripStylesTransformer'
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
coverageDirectory: '../../coverage/apps/client',
|
||
|
snapshotSerializers: [
|
||
|
'jest-preset-angular/build/AngularNoNgAttributesSnapshotSerializer.js',
|
||
|
'jest-preset-angular/build/AngularSnapshotSerializer.js',
|
||
|
'jest-preset-angular/build/HTMLCommentSerializer.js'
|
||
|
]
|
||
|
};
|