diff --git a/e2e/__tests__/__snapshots__/coverageReport.test.ts.snap b/e2e/__tests__/__snapshots__/coverageReport.test.ts.snap index 237958818568..e96a7a6783d0 100644 --- a/e2e/__tests__/__snapshots__/coverageReport.test.ts.snap +++ b/e2e/__tests__/__snapshots__/coverageReport.test.ts.snap @@ -49,10 +49,10 @@ File | % Stmts | % Branch | % Funcs | % Lines | All files | 60 | 0 | 50 | 60 | coverage-report | 47.37 | 0 | 25 | 50 | file.js | 100 | 100 | 100 | 100 | - notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 8,15-17,19 + notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 8-19 otherFile.js | 100 | 100 | 100 | 100 | sum.js | 87.5 | 100 | 50 | 100 | - sumDependency.js | 0 | 0 | 0 | 0 | 8,10,12 + sumDependency.js | 0 | 0 | 0 | 0 | 8-12 coverage-report/cached-duplicates/a | 100 | 100 | 100 | 100 | identical.js | 100 | 100 | 100 | 100 | coverage-report/cached-duplicates/b | 100 | 100 | 100 | 100 | @@ -75,10 +75,10 @@ File | % Stmts | % Branch | % Funcs | % Lines | All files | 60 | 0 | 50 | 60 | coverage-report | 47.37 | 0 | 25 | 50 | file.js | 100 | 100 | 100 | 100 | - notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 8,15-17,19 + notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 8-19 otherFile.js | 100 | 100 | 100 | 100 | sum.js | 87.5 | 100 | 50 | 100 | - sumDependency.js | 0 | 0 | 0 | 0 | 8,10,12 + sumDependency.js | 0 | 0 | 0 | 0 | 8-12 coverage-report/cached-duplicates/a | 100 | 100 | 100 | 100 | identical.js | 100 | 100 | 100 | 100 | coverage-report/cached-duplicates/b | 100 | 100 | 100 | 100 | @@ -100,10 +100,10 @@ File | % Stmts | % Branch | % Funcs | % Lines | All files | 60 | 0 | 50 | 60 | coverage-report | 47.37 | 0 | 25 | 50 | file.js | 100 | 100 | 100 | 100 | - notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 8,15-17,19 + notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 8-19 otherFile.js | 100 | 100 | 100 | 100 | sum.js | 87.5 | 100 | 50 | 100 | - sumDependency.js | 0 | 0 | 0 | 0 | 8,10,12 + sumDependency.js | 0 | 0 | 0 | 0 | 8-12 coverage-report/cached-duplicates/a | 100 | 100 | 100 | 100 | identical.js | 100 | 100 | 100 | 100 | coverage-report/cached-duplicates/b | 100 | 100 | 100 | 100 | @@ -118,10 +118,10 @@ File | % Stmts | % Branch | % Funcs | % Lines | All files | 60 | 0 | 50 | 60 | coverage-report | 47.37 | 0 | 25 | 50 | file.js | 100 | 100 | 100 | 100 | - notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 8,15-17,19 + notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 8-19 otherFile.js | 100 | 100 | 100 | 100 | sum.js | 87.5 | 100 | 50 | 100 | - sumDependency.js | 0 | 0 | 0 | 0 | 8,10,12 + sumDependency.js | 0 | 0 | 0 | 0 | 8-12 coverage-report/cached-duplicates/a | 100 | 100 | 100 | 100 | identical.js | 100 | 100 | 100 | 100 | coverage-report/cached-duplicates/b | 100 | 100 | 100 | 100 | diff --git a/e2e/__tests__/__snapshots__/coverageThreshold.test.ts.snap b/e2e/__tests__/__snapshots__/coverageThreshold.test.ts.snap index 59d2341cc31e..2357c88f67c0 100644 --- a/e2e/__tests__/__snapshots__/coverageThreshold.test.ts.snap +++ b/e2e/__tests__/__snapshots__/coverageThreshold.test.ts.snap @@ -20,7 +20,7 @@ exports[`excludes tests matched by path threshold groups from global group: stdo File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s -----------|---------|----------|---------|---------|------------------- All files | 50 | 100 | 50 | 50 | - apple.js | 0 | 100 | 0 | 0 | 1,2 + apple.js | 0 | 100 | 0 | 0 | 1-2 banana.js | 100 | 100 | 100 | 100 | -----------|---------|----------|---------|---------|------------------- `; diff --git a/e2e/__tests__/__snapshots__/coverageWithoutTransform.test.ts.snap b/e2e/__tests__/__snapshots__/coverageWithoutTransform.test.ts.snap index 0232699a6c55..01967977d5d8 100644 --- a/e2e/__tests__/__snapshots__/coverageWithoutTransform.test.ts.snap +++ b/e2e/__tests__/__snapshots__/coverageWithoutTransform.test.ts.snap @@ -5,6 +5,6 @@ exports[`produces code coverage for uncovered files without transformer 1`] = ` File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s ---------------------|---------|----------|---------|---------|------------------- All files | 0 | 100 | 0 | 0 | - some-random-file.js | 0 | 100 | 0 | 0 | 8,10,11 + some-random-file.js | 0 | 100 | 0 | 0 | 8-11 ---------------------|---------|----------|---------|---------|------------------- `; diff --git a/packages/jest-reporters/package.json b/packages/jest-reporters/package.json index 71e1091704cb..9083ef979619 100644 --- a/packages/jest-reporters/package.json +++ b/packages/jest-reporters/package.json @@ -25,7 +25,7 @@ "istanbul-lib-instrument": "^4.0.0", "istanbul-lib-report": "^3.0.0", "istanbul-lib-source-maps": "^4.0.0", - "istanbul-reports": "^3.0.0", + "istanbul-reports": "^3.0.2", "jest-haste-map": "^25.2.6", "jest-resolve": "^25.2.6", "jest-util": "^25.2.6", diff --git a/yarn.lock b/yarn.lock index def4012e1270..3137e4fe9b59 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8623,10 +8623,10 @@ istanbul-lib-source-maps@^4.0.0: istanbul-lib-coverage "^3.0.0" source-map "^0.6.1" -istanbul-reports@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.0.0.tgz#d4d16d035db99581b6194e119bbf36c963c5eb70" - integrity sha512-2osTcC8zcOSUkImzN2EWQta3Vdi4WjjKw99P2yWx5mLnigAM0Rd5uYFn1cf2i/Ois45GkNjaoTqc5CxgMSX80A== +istanbul-reports@^3.0.0, istanbul-reports@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.0.2.tgz#d593210e5000683750cb09fc0644e4b6e27fd53b" + integrity sha512-9tZvz7AiR3PEDNGiV9vIouQ/EAcqMXFmkcA1CDFTwOB98OZVDL0PH9glHotf5Ugp6GCOTypfzGWI/OqjWNCRUw== dependencies: html-escaper "^2.0.0" istanbul-lib-report "^3.0.0"