diff --git a/packages/jest-config/src/normalize.ts b/packages/jest-config/src/normalize.ts index db7c10138c27..6d6148f6ed3b 100644 --- a/packages/jest-config/src/normalize.ts +++ b/packages/jest-config/src/normalize.ts @@ -648,6 +648,10 @@ export default async function normalize( options.coverageDirectory = path.resolve(options.rootDir, 'coverage'); } + if (!options.prettierPath) { + options.prettierPath = DEFAULT_CONFIG.prettierPath; + } + setupBabelJest(options); // TODO: Type this properly const newOptions = {