diff --git a/.yarnrc.yml b/.yarnrc.yml index 77c68ac4da68..4eb4430b1a6c 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -4,8 +4,6 @@ logFilters: - code: YN0032 level: discard -nodeLinker: node-modules - packageExtensions: "@docsearch/react@*": dependencies: diff --git a/packages/jest-config/src/normalize.ts b/packages/jest-config/src/normalize.ts index f271b737a2b5..80857edf33dc 100644 --- a/packages/jest-config/src/normalize.ts +++ b/packages/jest-config/src/normalize.ts @@ -561,6 +561,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 = {