|
1 | 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP |
2 | 2 |
|
| 3 | +exports[`collects coverage from duplicate files avoiding shared cache 1`] = ` |
| 4 | +"---------------|----------|----------|----------|----------|----------------| |
| 5 | +File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines | |
| 6 | +---------------|----------|----------|----------|----------|----------------| |
| 7 | +All files | 100 | 100 | 100 | 100 | | |
| 8 | + a | 100 | 100 | 100 | 100 | | |
| 9 | + identical.js | 100 | 100 | 100 | 100 | | |
| 10 | + b | 100 | 100 | 100 | 100 | | |
| 11 | + identical.js | 100 | 100 | 100 | 100 | | |
| 12 | +---------------|----------|----------|----------|----------|----------------| |
| 13 | +" |
| 14 | +`; |
| 15 | + |
3 | 16 | exports[`collects coverage only from specified files 1`] = ` |
4 | 17 | "----------|----------|----------|----------|----------|----------------| |
5 | 18 | File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines | |
@@ -30,14 +43,19 @@ Ran all test suites. |
30 | 43 | `; |
31 | 44 |
|
32 | 45 | exports[`outputs coverage report 1`] = ` |
33 | | -"-------------------------------|----------|----------|----------|----------|----------------| |
34 | | -File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines | |
35 | | --------------------------------|----------|----------|----------|----------|----------------| |
36 | | -All files | 41.18 | 0 | 25 | 41.18 | | |
37 | | - not-required-in-test-suite.js | 0 | 0 | 0 | 0 | 9,16,17,18,20 | |
38 | | - other-file.js | 100 | 100 | 100 | 100 | | |
39 | | - sum.js | 85.71 | 100 | 50 | 85.71 | 13 | |
40 | | - sum_dependency.js | 0 | 0 | 0 | 0 | 9,11,12,15 | |
41 | | --------------------------------|----------|----------|----------|----------|----------------| |
| 46 | +"-------------------------------------|----------|----------|----------|----------|----------------| |
| 47 | +File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines | |
| 48 | +-------------------------------------|----------|----------|----------|----------|----------------| |
| 49 | +All files | 56.52 | 0 | 50 | 56.52 | | |
| 50 | + coverage_report | 41.18 | 0 | 25 | 41.18 | | |
| 51 | + not-required-in-test-suite.js | 0 | 0 | 0 | 0 | 9,16,17,18,20 | |
| 52 | + other-file.js | 100 | 100 | 100 | 100 | | |
| 53 | + sum.js | 85.71 | 100 | 50 | 85.71 | 13 | |
| 54 | + sum_dependency.js | 0 | 0 | 0 | 0 | 9,11,12,15 | |
| 55 | + coverage_report/cached-duplicates/a | 100 | 100 | 100 | 100 | | |
| 56 | + identical.js | 100 | 100 | 100 | 100 | | |
| 57 | + coverage_report/cached-duplicates/b | 100 | 100 | 100 | 100 | | |
| 58 | + identical.js | 100 | 100 | 100 | 100 | | |
| 59 | +-------------------------------------|----------|----------|----------|----------|----------------| |
42 | 60 | " |
43 | 61 | `; |
0 commit comments