We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3169d00 commit 8b3b505Copy full SHA for 8b3b505
packages/jest-cli/src/runGlobalHook.js
@@ -39,9 +39,7 @@ export default ({
39
}
40
41
const projectConfig =
42
- allTests
43
- .map(t => t.context.config)
44
- .find(c => c[moduleName] === modulePath) ||
+ allTests.find(t => t.context.config[moduleName] === modulePath) ||
45
// Fallback to first one
46
allTests[0].context.config;
47
0 commit comments