-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
/
coverage_report-test.js.snap
31 lines (29 loc) · 1.59 KB
/
coverage_report-test.js.snap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
exports[`test collects coverage only from specified files 1`] = `
"----------|----------|----------|----------|----------|----------------|
File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines |
----------|----------|----------|----------|----------|----------------|
All files | 100 | 100 | 100 | 100 | |
setup.js | 100 | 100 | 100 | 100 | |
----------|----------|----------|----------|----------|----------------|
"
`;
exports[`test json reporter printing with --coverage 1`] = `
"Test Suites: 1 failed, 0 passed, 1 total
Tests: 1 failed, 1 passed, 2 total
Snapshots: 0 passed, 0 total
Time: <<REPLACED>>
Ran all tests.
"
`;
exports[`test outputs coverage report 1`] = `
"-------------------------------|----------|----------|----------|----------|----------------|
File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines |
-------------------------------|----------|----------|----------|----------|----------------|
All files | 45.45 | 0 | 50 | 45.45 | |
not-required-in-test-suite.js | 0 | 0 | 0 | 0 | 10,17,21,22,24 |
other-file.js | 100 | 100 | 100 | 100 | |
sum.js | 100 | 100 | 100 | 100 | |
sum_dependency.js | 0 | 100 | 100 | 0 | 10 |
-------------------------------|----------|----------|----------|----------|----------------|
"
`;