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 f126336 commit 9984ba1Copy full SHA for 9984ba1
CHANGELOG.md
@@ -18,6 +18,8 @@
18
19
### Performance
20
21
+- `[jest-runner]` Do not instrument v8 coverage data if coverage should not be collected [#13282](https://github.com/facebook/jest/pull/13282)
22
+
23
## 29.1.2
24
25
### Fixes
packages/jest-runner/src/runTest.ts
@@ -280,6 +280,7 @@ async function runTestInternal(
280
281
// if we don't have `getVmContext` on the env skip coverage
282
const collectV8Coverage =
283
+ globalConfig.collectCoverage &&
284
globalConfig.coverageProvider === 'v8' &&
285
typeof environment.getVmContext === 'function';
286
0 commit comments