diff --git a/website/docs/getting-started/options.md b/website/docs/getting-started/options.md index d9e6c4c842..f379b5b12c 100644 --- a/website/docs/getting-started/options.md +++ b/website/docs/getting-started/options.md @@ -92,7 +92,7 @@ module.exports = { tsconfig: '/tsconfig.spec.json', stringifyContentPathRegex: '\\.(html|svg)$', }, - ] + ], }, }; ``` @@ -112,8 +112,8 @@ const jestConfig: Config = { 'jest-preset-angular', { tsconfig: '/tsconfig.spec.json', - stringifyContentPathRegex: '\\.(html|svg)$' - } + stringifyContentPathRegex: '\\.(html|svg)$', + }, ], }, }; diff --git a/website/docs/getting-started/presets.md b/website/docs/getting-started/presets.md index 45e60d1a9a..c75e165cde 100644 --- a/website/docs/getting-started/presets.md +++ b/website/docs/getting-started/presets.md @@ -72,11 +72,11 @@ module.exports = { // [...] transform: { '^.+\\.(ts|js|mjs|html|svg)$': [ - 'jest-preset-angular', + 'jest-preset-angular', { ...defaultTransformerOptions, - // [...your overriden options] - } + // [...your overriden options] + }, ], }, }; @@ -90,11 +90,11 @@ const jestConfig: Config = { // [...] transform: { '^.+\\.(ts|js|mjs|html|svg)$': [ - 'jest-preset-angular', + 'jest-preset-angular', { ...presets.defaultTransformerOptions, - // [...your overriden options] - } + // [...your overriden options] + }, ], }, };