Skip to content

Commit 08fa50a

Browse files
author
Giuseppe Pennisi
committed
Revert "chore: update app jest config"
This reverts commit 927e138.
1 parent 204456b commit 08fa50a

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

apps/winbox-example-app/jest.config.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,15 @@ export default {
33
displayName: 'winbox-example-app',
44
preset: '../../jest.preset.js',
55
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
6+
globals: {
7+
'ts-jest': {
8+
tsconfig: '<rootDir>/tsconfig.spec.json',
9+
stringifyContentPathRegex: '\\.(html|svg)$',
10+
},
11+
},
612
coverageDirectory: '../../coverage/apps/winbox-example-app',
713
transform: {
814
'^.+\\.(ts|mjs|js|html)$': 'jest-preset-angular',
9-
'^.+.(ts|js|html|svg)$': 'ts-jest',
1015
},
1116
transformIgnorePatterns: ['node_modules/(?!.*\\.mjs$)'],
1217
snapshotSerializers: [

0 commit comments

Comments
 (0)