-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjest.config.app.ts
30 lines (30 loc) · 1004 Bytes
/
jest.config.app.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/* eslint-disable */
export default {
displayName: 'coagulu',
preset: './jest.preset.js',
setupFilesAfterEnv: ['./setup.js'],
coverageDirectory: './coverage/coagulu',
transform: {
'^.+\\.(ts|mjs|js|html)$': [
'jest-preset-angular',
{
tsconfig: '<rootDir>/tsconfig.spec.json',
stringifyContentPathRegex: '\\.(html|svg)$',
},
],
},
transformIgnorePatterns: ['node_modules/(?!.*\\.mjs$)'],
snapshotSerializers: [
'jest-preset-angular/build/serializers/no-ng-attributes',
'jest-preset-angular/build/serializers/ng-snapshot',
'jest-preset-angular/build/serializers/html-comment',
],
testMatch: [
'<rootDir>/ftx-forms/**/*(*.)@(spec|test).[jt]s?(x)',
'<rootDir>/ftx-tooltip/**/*(*.)@(spec|test).[jt]s?(x)',
'<rootDir>/ftx-forms/**/__tests__/**/*.[jt]s?(x)',
'<rootDir>/ftx-tooltip/**/__tests__/**/*.[jt]s?(x)',
'<rootDir>/src/**/__tests__/**/*.[jt]s?(x)',
'<rootDir>/src/**/*(*.)@(spec|test).[jt]s?(x)',
],
};