From 4713481caa9ea20f28f59524b95bf0d443b889cb Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Tue, 28 Sep 2021 13:51:01 +0200 Subject: [PATCH] update snaps --- .../__snapshots__/coverageHandlebars.test.ts.snap | 4 ++-- .../__snapshots__/coverageProviderV8.test.ts.snap | 12 ++++++------ .../__snapshots__/coverageReport.test.ts.snap | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/e2e/__tests__/__snapshots__/coverageHandlebars.test.ts.snap b/e2e/__tests__/__snapshots__/coverageHandlebars.test.ts.snap index 7fe8d61b2167..47227ae94cbe 100644 --- a/e2e/__tests__/__snapshots__/coverageHandlebars.test.ts.snap +++ b/e2e/__tests__/__snapshots__/coverageHandlebars.test.ts.snap @@ -4,7 +4,7 @@ exports[`code coverage for Handlebars 1`] = ` -----------|---------|----------|---------|---------|------------------- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s -----------|---------|----------|---------|---------|------------------- -All files | 75 | 66.67 | 66.67 | 66.67 | - greet.hbs | 75 | 66.67 | 66.67 | 66.67 | 10 +All files | 75 | 66.66 | 66.66 | 66.66 | + greet.hbs | 75 | 66.66 | 66.66 | 66.66 | 10 -----------|---------|----------|---------|---------|------------------- `; diff --git a/e2e/__tests__/__snapshots__/coverageProviderV8.test.ts.snap b/e2e/__tests__/__snapshots__/coverageProviderV8.test.ts.snap index cd91cd2a3ffb..b3484364de99 100644 --- a/e2e/__tests__/__snapshots__/coverageProviderV8.test.ts.snap +++ b/e2e/__tests__/__snapshots__/coverageProviderV8.test.ts.snap @@ -10,7 +10,7 @@ exports[`on node >=12.16.0 prints correct coverage report, if a TS module is tra File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s --------------|---------|----------|---------|---------|------------------- All files | 50 | 25 | 25 | 50 | - module.ts | 80.77 | 50 | 50 | 80.77 | 16-18,21-22 + module.ts | 80.76 | 50 | 50 | 80.76 | 16-18,21-22 types.ts | 0 | 0 | 0 | 0 | 1-8 uncovered.ts | 0 | 0 | 0 | 0 | 1-8 --------------|---------|----------|---------|---------|------------------- @@ -25,8 +25,8 @@ exports[`on node >=12.16.0 prints correct coverage report, if an ESM module is p --------------|---------|----------|---------|---------|------------------- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s --------------|---------|----------|---------|---------|------------------- -All files | 59.38 | 50 | 33.33 | 59.38 | - module.js | 79.17 | 66.67 | 50 | 79.17 | 14-16,19-20 +All files | 59.37 | 50 | 33.33 | 59.37 | + module.js | 79.16 | 66.66 | 50 | 79.16 | 14-16,19-20 uncovered.js | 0 | 0 | 0 | 0 | 1-8 --------------|---------|----------|---------|---------|------------------- `; @@ -40,8 +40,8 @@ exports[`prints correct coverage report, if a CJS module is put under test witho --------------|---------|----------|---------|---------|------------------- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s --------------|---------|----------|---------|---------|------------------- -All files | 59.38 | 60 | 50 | 59.38 | - module.js | 79.17 | 75 | 66.67 | 79.17 | 14-16,19-20 +All files | 59.37 | 60 | 50 | 59.37 | + module.js | 79.16 | 75 | 66.66 | 79.16 | 14-16,19-20 uncovered.js | 0 | 0 | 0 | 0 | 1-8 --------------|---------|----------|---------|---------|------------------- `; @@ -56,7 +56,7 @@ exports[`prints correct coverage report, if a TS module is transpiled by Babel t File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s --------------|---------|----------|---------|---------|------------------- All files | 50 | 25 | 25 | 50 | - module.ts | 80.77 | 50 | 50 | 80.77 | 16-18,21-22 + module.ts | 80.76 | 50 | 50 | 80.76 | 16-18,21-22 types.ts | 0 | 0 | 0 | 0 | 1-8 uncovered.ts | 0 | 0 | 0 | 0 | 1-8 --------------|---------|----------|---------|---------|------------------- diff --git a/e2e/__tests__/__snapshots__/coverageReport.test.ts.snap b/e2e/__tests__/__snapshots__/coverageReport.test.ts.snap index e96a7a6783d0..423578892b35 100644 --- a/e2e/__tests__/__snapshots__/coverageReport.test.ts.snap +++ b/e2e/__tests__/__snapshots__/coverageReport.test.ts.snap @@ -47,7 +47,7 @@ exports[`generates coverage when using the testRegex config param 1`] = ` File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s -------------------------------------|---------|----------|---------|---------|------------------- All files | 60 | 0 | 50 | 60 | - coverage-report | 47.37 | 0 | 25 | 50 | + coverage-report | 47.36 | 0 | 25 | 50 | file.js | 100 | 100 | 100 | 100 | notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 8-19 otherFile.js | 100 | 100 | 100 | 100 | @@ -73,7 +73,7 @@ exports[`outputs coverage report 1`] = ` File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s -------------------------------------|---------|----------|---------|---------|------------------- All files | 60 | 0 | 50 | 60 | - coverage-report | 47.37 | 0 | 25 | 50 | + coverage-report | 47.36 | 0 | 25 | 50 | file.js | 100 | 100 | 100 | 100 | notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 8-19 otherFile.js | 100 | 100 | 100 | 100 | @@ -98,7 +98,7 @@ Lines : 60% ( 12/20 ) File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s -------------------------------------|---------|----------|---------|---------|------------------- All files | 60 | 0 | 50 | 60 | - coverage-report | 47.37 | 0 | 25 | 50 | + coverage-report | 47.36 | 0 | 25 | 50 | file.js | 100 | 100 | 100 | 100 | notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 8-19 otherFile.js | 100 | 100 | 100 | 100 | @@ -116,7 +116,7 @@ exports[`outputs coverage report when text is requested 1`] = ` File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s -------------------------------------|---------|----------|---------|---------|------------------- All files | 60 | 0 | 50 | 60 | - coverage-report | 47.37 | 0 | 25 | 50 | + coverage-report | 47.36 | 0 | 25 | 50 | file.js | 100 | 100 | 100 | 100 | notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 8-19 otherFile.js | 100 | 100 | 100 | 100 |