24 lines
747 B
JavaScript
24 lines
747 B
JavaScript
|
module.exports = {
|
||
|
displayName: 'chat-room',
|
||
|
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/chat-room',
|
||
|
snapshotSerializers: [
|
||
|
'jest-preset-angular/build/AngularNoNgAttributesSnapshotSerializer.js',
|
||
|
'jest-preset-angular/build/AngularSnapshotSerializer.js',
|
||
|
'jest-preset-angular/build/HTMLCommentSerializer.js',
|
||
|
],
|
||
|
};
|