diff --git a/e2e/__tests__/__snapshots__/coverage_remapping.test.js.snap b/e2e/__tests__/__snapshots__/coverage_remapping.test.js.snap index 7285790c0bbf..3faf7a0a5362 100644 --- a/e2e/__tests__/__snapshots__/coverage_remapping.test.js.snap +++ b/e2e/__tests__/__snapshots__/coverage_remapping.test.js.snap @@ -183,7 +183,7 @@ Object { "0": Object { "decl": Object { "end": Object { - "column": 28, + "column": 29, "line": 3, }, "start": Object { @@ -206,7 +206,7 @@ Object { "1": Object { "decl": Object { "end": Object { - "column": 35, + "column": 36, "line": 7, }, "start": Object { @@ -229,7 +229,7 @@ Object { "2": Object { "decl": Object { "end": Object { - "column": 48, + "column": 49, "line": 7, }, "start": Object { @@ -314,7 +314,7 @@ Object { }, "5": Object { "end": Object { - "column": 40, + "column": 43, "line": 7, }, "start": Object { @@ -324,7 +324,7 @@ Object { }, "6": Object { "end": Object { - "column": 53, + "column": 54, "line": 7, }, "start": Object { diff --git a/e2e/__tests__/__snapshots__/coverage_report.test.js.snap b/e2e/__tests__/__snapshots__/coverage_report.test.js.snap index 4724c78aef88..22b2a7a6ba06 100644 --- a/e2e/__tests__/__snapshots__/coverage_report.test.js.snap +++ b/e2e/__tests__/__snapshots__/coverage_report.test.js.snap @@ -46,12 +46,12 @@ exports[`generates coverage when using the testRegex config param 1`] = ` "-------------------------------------|----------|----------|----------|----------|-------------------| File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s | -------------------------------------|----------|----------|----------|----------|-------------------| -All files | 59.09 | 0 | 50 | 58.82 | | - coverage-report | 43.75 | 0 | 25 | 46.15 | | +All files | 56.52 | 0 | 50 | 55.56 | | + coverage-report | 41.18 | 0 | 25 | 42.86 | | OtherFile.js | 100 | 100 | 100 | 100 | | Sum.js | 85.71 | 100 | 50 | 100 | | SumDependency.js | 0 | 0 | 0 | 0 | 8,10,12 | - notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 15,16,17,19 | + notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 8,15,16,17,19 | coverage-report/cached-duplicates/a | 100 | 100 | 100 | 100 | | Identical.js | 100 | 100 | 100 | 100 | | coverage-report/cached-duplicates/b | 100 | 100 | 100 | 100 | | @@ -72,12 +72,12 @@ exports[`outputs coverage report 1`] = ` "-------------------------------------|----------|----------|----------|----------|-------------------| File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s | -------------------------------------|----------|----------|----------|----------|-------------------| -All files | 59.09 | 0 | 50 | 58.82 | | - coverage-report | 43.75 | 0 | 25 | 46.15 | | +All files | 56.52 | 0 | 50 | 55.56 | | + coverage-report | 41.18 | 0 | 25 | 42.86 | | OtherFile.js | 100 | 100 | 100 | 100 | | Sum.js | 85.71 | 100 | 50 | 100 | | SumDependency.js | 0 | 0 | 0 | 0 | 8,10,12 | - notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 15,16,17,19 | + notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 8,15,16,17,19 | coverage-report/cached-duplicates/a | 100 | 100 | 100 | 100 | | Identical.js | 100 | 100 | 100 | 100 | | coverage-report/cached-duplicates/b | 100 | 100 | 100 | 100 | | @@ -88,20 +88,20 @@ All files | 59.09 | 0 | 50 | 58.82 exports[`outputs coverage report when text and text-summary is requested 1`] = ` " =============================== Coverage summary =============================== -Statements : 59.09% ( 13/22 ) +Statements : 56.52% ( 13/23 ) Branches : 0% ( 0/4 ) Functions : 50% ( 3/6 ) -Lines : 58.82% ( 10/17 ) +Lines : 55.56% ( 10/18 ) ================================================================================ -------------------------------------|----------|----------|----------|----------|-------------------| File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s | -------------------------------------|----------|----------|----------|----------|-------------------| -All files | 59.09 | 0 | 50 | 58.82 | | - coverage-report | 43.75 | 0 | 25 | 46.15 | | +All files | 56.52 | 0 | 50 | 55.56 | | + coverage-report | 41.18 | 0 | 25 | 42.86 | | OtherFile.js | 100 | 100 | 100 | 100 | | Sum.js | 85.71 | 100 | 50 | 100 | | SumDependency.js | 0 | 0 | 0 | 0 | 8,10,12 | - notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 15,16,17,19 | + notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 8,15,16,17,19 | coverage-report/cached-duplicates/a | 100 | 100 | 100 | 100 | | Identical.js | 100 | 100 | 100 | 100 | | coverage-report/cached-duplicates/b | 100 | 100 | 100 | 100 | | @@ -113,12 +113,12 @@ exports[`outputs coverage report when text is requested 1`] = ` "-------------------------------------|----------|----------|----------|----------|-------------------| File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s | -------------------------------------|----------|----------|----------|----------|-------------------| -All files | 59.09 | 0 | 50 | 58.82 | | - coverage-report | 43.75 | 0 | 25 | 46.15 | | +All files | 56.52 | 0 | 50 | 55.56 | | + coverage-report | 41.18 | 0 | 25 | 42.86 | | OtherFile.js | 100 | 100 | 100 | 100 | | Sum.js | 85.71 | 100 | 50 | 100 | | SumDependency.js | 0 | 0 | 0 | 0 | 8,10,12 | - notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 15,16,17,19 | + notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 8,15,16,17,19 | coverage-report/cached-duplicates/a | 100 | 100 | 100 | 100 | | Identical.js | 100 | 100 | 100 | 100 | | coverage-report/cached-duplicates/b | 100 | 100 | 100 | 100 | | @@ -129,9 +129,9 @@ All files | 59.09 | 0 | 50 | 58.82 exports[`outputs coverage report when text-summary is requested 1`] = ` " =============================== Coverage summary =============================== -Statements : 59.09% ( 13/22 ) +Statements : 56.52% ( 13/23 ) Branches : 0% ( 0/4 ) Functions : 50% ( 3/6 ) -Lines : 58.82% ( 10/17 ) +Lines : 55.56% ( 10/18 ) ================================================================================" `;