Skip to content

Commit

Permalink
chore: fix the snaps
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe committed Nov 28, 2019
1 parent 2fb43d0 commit b400770
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions test/integration.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -18,50 +18,50 @@ exports[`c8 --all reports coverage for unloaded js files as 0 for line, branch a
",zero
positive
negative
--------------|----------|----------|----------|----------|-------------------|
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
--------------|----------|----------|----------|----------|-------------------|
All files | 64.29 | 66.67 | 50 | 64.29 | |
vanilla | 78.26 | 75 | 100 | 78.26 | |
loaded.js | 73.68 | 71.43 | 100 | 73.68 | 4,5,16,17,18 |
main.js | 100 | 100 | 100 | 100 | |
vanilla/dir | 0 | 0 | 0 | 0 | |
unloaded.js | 0 | 0 | 0 | 0 | 1,2,3,4,5 |
--------------|----------|----------|----------|----------|-------------------|
--------------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
--------------|---------|----------|---------|---------|-------------------
All files | 64.29 | 66.67 | 50 | 64.29 |
vanilla | 78.26 | 75 | 100 | 78.26 |
loaded.js | 73.68 | 71.43 | 100 | 73.68 | 4,5,16,17,18
main.js | 100 | 100 | 100 | 100 |
vanilla/dir | 0 | 0 | 0 | 0 |
unloaded.js | 0 | 0 | 0 | 0 | 1,2,3,4,5
--------------|---------|----------|---------|---------|-------------------
,"
`;

exports[`c8 --all reports coverage for unloaded transpiled ts files as 0 for line, branch and function 1`] = `
",zero
positive
negative
-----------------|----------|----------|----------|----------|-------------------|
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
-----------------|----------|----------|----------|----------|-------------------|
All files | 64.29 | 66.67 | 50 | 64.29 | |
ts-compiled | 78.26 | 75 | 100 | 78.26 | |
loaded.ts | 73.68 | 71.43 | 100 | 73.68 | 4,5,16,17,18 |
main.ts | 100 | 100 | 100 | 100 | |
ts-compiled/dir | 0 | 0 | 0 | 0 | |
unloaded.ts | 0 | 0 | 0 | 0 | 1,2,3,4,5 |
-----------------|----------|----------|----------|----------|-------------------|
-----------------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
-----------------|---------|----------|---------|---------|-------------------
All files | 64.29 | 66.67 | 50 | 64.29 |
ts-compiled | 78.26 | 75 | 100 | 78.26 |
loaded.ts | 73.68 | 71.43 | 100 | 73.68 | 4,5,16,17,18
main.ts | 100 | 100 | 100 | 100 |
ts-compiled/dir | 0 | 0 | 0 | 0 |
unloaded.ts | 0 | 0 | 0 | 0 | 1,2,3,4,5
-----------------|---------|----------|---------|---------|-------------------
,"
`;

exports[`c8 --all reports coverage for unloaded ts files as 0 for line, branch and function when using ts-node 1`] = `
",zero
positive
negative
--------------|----------|----------|----------|----------|-------------------|
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
--------------|----------|----------|----------|----------|-------------------|
All files | 64.29 | 66.67 | 50 | 64.29 | |
ts-only | 78.26 | 75 | 100 | 78.26 | |
loaded.ts | 73.68 | 71.43 | 100 | 73.68 | 4,5,16,17,18 |
main.ts | 100 | 100 | 100 | 100 | |
ts-only/dir | 0 | 0 | 0 | 0 | |
unloaded.ts | 0 | 0 | 0 | 0 | 1,2,3,4,5 |
--------------|----------|----------|----------|----------|-------------------|
--------------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
--------------|---------|----------|---------|---------|-------------------
All files | 64.29 | 66.67 | 50 | 64.29 |
ts-only | 78.26 | 75 | 100 | 78.26 |
loaded.ts | 73.68 | 71.43 | 100 | 73.68 | 4,5,16,17,18
main.ts | 100 | 100 | 100 | 100 |
ts-only/dir | 0 | 0 | 0 | 0 |
unloaded.ts | 0 | 0 | 0 | 0 | 1,2,3,4,5
--------------|---------|----------|---------|---------|-------------------
,"
`;

Expand Down

0 comments on commit b400770

Please sign in to comment.