forked from jestjs/jest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
coverage_report-test.js.snap
43 lines (39 loc) · 2.12 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
32
33
34
35
36
37
38
39
40
41
42
43
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`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[`collects coverage only from specified files avoiding dependencies 1`] = `
"----------|----------|----------|----------|----------|----------------|
File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines |
----------|----------|----------|----------|----------|----------------|
All files | 100 | 100 | 100 | 100 | |
sum.js | 100 | 100 | 100 | 100 | |
----------|----------|----------|----------|----------|----------------|
"
`;
exports[`json reporter printing with --coverage 1`] = `
"Test Suites: 1 failed, 1 total
Tests: 1 failed, 1 passed, 2 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
"
`;
exports[`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 |
-------------------------------|----------|----------|----------|----------|----------------|
"
`;