diff --git a/packages/jest/src/jest-config/default-config.ts b/packages/jest/src/jest-config/default-config.ts index c6667b98a..37d0d957d 100644 --- a/packages/jest/src/jest-config/default-config.ts +++ b/packages/jest/src/jest-config/default-config.ts @@ -1,7 +1,9 @@ export default { globals: { - stringifyContentPathRegex: "\\.html$", - astTransformers: ['jest-preset-angular/InlineHtmlStripStylesTransformer.js'] + "ts-jest": { + stringifyContentPathRegex: "\\.html$", + astTransformers: ['jest-preset-angular/InlineHtmlStripStylesTransformer.js'] + } }, preset: 'jest-preset-angular', testURL: 'https://github.com/@angular-cli-builders',