Skip to content

Commit 88c7042

Browse files
committed
chore: bump to istanbul alphas
1 parent 4643178 commit 88c7042

20 files changed

+405
-462
lines changed

e2e/__tests__/__snapshots__/coverageReport.test.ts.snap

Lines changed: 88 additions & 88 deletions
Large diffs are not rendered by default.

e2e/__tests__/__snapshots__/coverageThreshold.test.ts.snap

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,22 @@ Ran all test suites.
1616
`;
1717
1818
exports[`excludes tests matched by path threshold groups from global group: stdout 1`] = `
19-
-----------|----------|----------|----------|----------|-------------------|
20-
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
21-
-----------|----------|----------|----------|----------|-------------------|
22-
All files | 50 | 100 | 50 | 50 | |
23-
apple.js | 0 | 100 | 0 | 0 | 2,3 |
24-
banana.js | 100 | 100 | 100 | 100 | |
25-
-----------|----------|----------|----------|----------|-------------------|
19+
-----------|---------|----------|---------|---------|-------------------
20+
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
21+
-----------|---------|----------|---------|---------|-------------------
22+
All files | 50 | 100 | 50 | 50 |
23+
apple.js | 0 | 100 | 0 | 0 | 2,3
24+
banana.js | 100 | 100 | 100 | 100 |
25+
-----------|---------|----------|---------|---------|-------------------
2626
`;
2727
2828
exports[`exits with 0 if global threshold group is not found in coverage data: stdout 1`] = `
29-
-----------|----------|----------|----------|----------|-------------------|
30-
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
31-
-----------|----------|----------|----------|----------|-------------------|
32-
All files | 100 | 100 | 100 | 100 | |
33-
banana.js | 100 | 100 | 100 | 100 | |
34-
-----------|----------|----------|----------|----------|-------------------|
29+
-----------|---------|----------|---------|---------|-------------------
30+
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
31+
-----------|---------|----------|---------|---------|-------------------
32+
All files | 100 | 100 | 100 | 100 |
33+
banana.js | 100 | 100 | 100 | 100 |
34+
-----------|---------|----------|---------|---------|-------------------
3535
`;
3636
3737
exports[`exits with 1 if coverage threshold is not met 1`] = `
@@ -50,12 +50,12 @@ Ran all test suites.
5050
`;
5151
5252
exports[`exits with 1 if coverage threshold is not met: stdout 1`] = `
53-
----------------|----------|----------|----------|----------|-------------------|
54-
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
55-
----------------|----------|----------|----------|----------|-------------------|
56-
All files | 50 | 100 | 0 | 50 | |
57-
not-covered.js | 50 | 100 | 0 | 50 | 3 |
58-
----------------|----------|----------|----------|----------|-------------------|
53+
----------------|---------|----------|---------|---------|-------------------
54+
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
55+
----------------|---------|----------|---------|---------|-------------------
56+
All files | 50 | 100 | 0 | 50 |
57+
not-covered.js | 50 | 100 | 0 | 50 | 3
58+
----------------|---------|----------|---------|---------|-------------------
5959
`;
6060
6161
exports[`exits with 1 if path threshold group is not found in coverage data 1`] = `
@@ -74,12 +74,12 @@ Ran all test suites.
7474
`;
7575
7676
exports[`exits with 1 if path threshold group is not found in coverage data: stdout 1`] = `
77-
-----------|----------|----------|----------|----------|-------------------|
78-
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
79-
-----------|----------|----------|----------|----------|-------------------|
80-
All files | 100 | 100 | 100 | 100 | |
81-
banana.js | 100 | 100 | 100 | 100 | |
82-
-----------|----------|----------|----------|----------|-------------------|
77+
-----------|---------|----------|---------|---------|-------------------
78+
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
79+
-----------|---------|----------|---------|---------|-------------------
80+
All files | 100 | 100 | 100 | 100 |
81+
banana.js | 100 | 100 | 100 | 100 |
82+
-----------|---------|----------|---------|---------|-------------------
8383
`;
8484
8585
exports[`file is matched by all path and glob threshold groups 1`] = `
@@ -100,10 +100,10 @@ Ran all test suites.
100100
`;
101101
102102
exports[`file is matched by all path and glob threshold groups: stdout 1`] = `
103-
-----------|----------|----------|----------|----------|-------------------|
104-
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
105-
-----------|----------|----------|----------|----------|-------------------|
106-
All files | 50 | 100 | 0 | 50 | |
107-
banana.js | 50 | 100 | 0 | 50 | 3 |
108-
-----------|----------|----------|----------|----------|-------------------|
103+
-----------|---------|----------|---------|---------|-------------------
104+
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
105+
-----------|---------|----------|---------|---------|-------------------
106+
All files | 50 | 100 | 0 | 50 |
107+
banana.js | 50 | 100 | 0 | 50 | 3
108+
-----------|---------|----------|---------|---------|-------------------
109109
`;

e2e/__tests__/__snapshots__/coverageTransformInstrumented.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
exports[`code coverage for transform instrumented code 1`] = `
44
Object {
55
"covered.js": Object {
6-
"_coverageSchema": "43e27e138ebf9cfc5966b082cf9a028302ed4184",
6+
"_coverageSchema": "1a1c01bbd47fc00a2c39e90264f33305004495a9",
77
"b": Object {},
88
"branchMap": Object {},
99
"f": Object {

e2e/__tests__/__snapshots__/findRelatedFiles.test.ts.snap

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ PASS __tests__/a.test.js
1414
`;
1515
1616
exports[`--findRelatedTests flag coverage configuration is applied correctly 3`] = `
17-
----------|----------|----------|----------|----------|-------------------|
18-
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
19-
----------|----------|----------|----------|----------|-------------------|
20-
All files | 100 | 100 | 100 | 100 | |
21-
a.js | 100 | 100 | 100 | 100 | |
22-
----------|----------|----------|----------|----------|-------------------|
17+
----------|---------|----------|---------|---------|-------------------
18+
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
19+
----------|---------|----------|---------|---------|-------------------
20+
All files | 100 | 100 | 100 | 100 |
21+
a.js | 100 | 100 | 100 | 100 |
22+
----------|---------|----------|---------|---------|-------------------
2323
`;
2424
2525
exports[`--findRelatedTests flag generates coverage report for filename 1`] = `
@@ -36,13 +36,13 @@ PASS __tests__/b.test.js
3636
`;
3737
3838
exports[`--findRelatedTests flag generates coverage report for filename 3`] = `
39-
----------|----------|----------|----------|----------|-------------------|
40-
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
41-
----------|----------|----------|----------|----------|-------------------|
42-
All files | 100 | 100 | 100 | 100 | |
43-
a.js | 100 | 100 | 100 | 100 | |
44-
b.js | 100 | 100 | 100 | 100 | |
45-
----------|----------|----------|----------|----------|-------------------|
39+
----------|---------|----------|---------|---------|-------------------
40+
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
41+
----------|---------|----------|---------|---------|-------------------
42+
All files | 100 | 100 | 100 | 100 |
43+
a.js | 100 | 100 | 100 | 100 |
44+
b.js | 100 | 100 | 100 | 100 |
45+
----------|---------|----------|---------|---------|-------------------
4646
`;
4747
4848
exports[`--findRelatedTests flag generates coverage report for filename 4`] = `
@@ -59,10 +59,10 @@ PASS __tests__/a.test.js
5959
`;
6060
6161
exports[`--findRelatedTests flag generates coverage report for filename 6`] = `
62-
----------|----------|----------|----------|----------|-------------------|
63-
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
64-
----------|----------|----------|----------|----------|-------------------|
65-
All files | 100 | 100 | 100 | 100 | |
66-
a.js | 100 | 100 | 100 | 100 | |
67-
----------|----------|----------|----------|----------|-------------------|
62+
----------|---------|----------|---------|---------|-------------------
63+
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
64+
----------|---------|----------|---------|---------|-------------------
65+
All files | 100 | 100 | 100 | 100 |
66+
a.js | 100 | 100 | 100 | 100 |
67+
----------|---------|----------|---------|---------|-------------------
6868
`;

e2e/__tests__/__snapshots__/transform.test.ts.snap

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -10,36 +10,36 @@ FAIL __tests__/ignoredFile.test.js
1010
`;
1111

1212
exports[`babel-jest instruments only specific files and collects coverage 1`] = `
13-
------------|----------|----------|----------|----------|-------------------|
14-
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
15-
------------|----------|----------|----------|----------|-------------------|
16-
All files | 83.33 | 100 | 50 | 80 | |
17-
covered.js | 83.33 | 100 | 50 | 80 | 13 |
18-
------------|----------|----------|----------|----------|-------------------|
13+
------------|---------|----------|---------|---------|-------------------
14+
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
15+
------------|---------|----------|---------|---------|-------------------
16+
All files | 83.33 | 100 | 50 | 80 |
17+
covered.js | 83.33 | 100 | 50 | 80 | 13
18+
------------|---------|----------|---------|---------|-------------------
1919
`;
2020

2121
exports[`custom transformer instruments files 1`] = `
22-
----------|----------|----------|----------|----------|-------------------|
23-
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
24-
----------|----------|----------|----------|----------|-------------------|
25-
All files | 0 | 0 | 0 | 0 | |
26-
----------|----------|----------|----------|----------|-------------------|
22+
----------|---------|----------|---------|---------|-------------------
23+
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
24+
----------|---------|----------|---------|---------|-------------------
25+
All files | 0 | 0 | 0 | 0 |
26+
----------|---------|----------|---------|---------|-------------------
2727
`;
2828

2929
exports[`no babel-jest instrumentation with no babel-jest 1`] = `
30-
------------|----------|----------|----------|----------|-------------------|
31-
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
32-
------------|----------|----------|----------|----------|-------------------|
33-
All files | 83.33 | 100 | 50 | 80 | |
34-
covered.js | 83.33 | 100 | 50 | 80 | 13 |
35-
------------|----------|----------|----------|----------|-------------------|
30+
------------|---------|----------|---------|---------|-------------------
31+
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
32+
------------|---------|----------|---------|---------|-------------------
33+
All files | 83.33 | 100 | 50 | 80 |
34+
covered.js | 83.33 | 100 | 50 | 80 | 13
35+
------------|---------|----------|---------|---------|-------------------
3636
`;
3737

3838
exports[`transformer-config instruments only specific files and collects coverage 1`] = `
39-
"------------|----------|----------|----------|----------|-------------------|
40-
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
41-
------------|----------|----------|----------|----------|-------------------|
42-
All files | 83.33 | 100 | 50 | 80 | |
43-
Covered.js | 83.33 | 100 | 50 | 80 | 13 |
44-
------------|----------|----------|----------|----------|-------------------|"
39+
"------------|---------|----------|---------|---------|-------------------
40+
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
41+
------------|---------|----------|---------|---------|-------------------
42+
All files | 83.33 | 100 | 50 | 80 |
43+
Covered.js | 83.33 | 100 | 50 | 80 | 13
44+
------------|---------|----------|---------|---------|-------------------"
4545
`;
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

33
exports[`instruments and collects coverage for typescript files 1`] = `
4-
------------|----------|----------|----------|----------|-------------------|
5-
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
6-
------------|----------|----------|----------|----------|-------------------|
7-
All files | 100 | 100 | 100 | 100 | |
8-
covered.ts | 100 | 100 | 100 | 100 | |
9-
------------|----------|----------|----------|----------|-------------------|
4+
------------|---------|----------|---------|---------|-------------------
5+
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
6+
------------|---------|----------|---------|---------|-------------------
7+
All files | 100 | 100 | 100 | 100 |
8+
covered.ts | 100 | 100 | 100 | 100 |
9+
------------|---------|----------|---------|---------|-------------------
1010
`;

e2e/coverage-transform-instrumented/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
"dependencies": {
1919
"@babel/core": "^7.0.0",
2020
"@babel/preset-env": "^7.0.0",
21-
"babel-plugin-istanbul": "^5.1.0"
21+
"babel-plugin-istanbul": "^6.0.0-beta.0"
2222
}
2323
}

0 commit comments

Comments
 (0)