Skip to content

Commit 6727a01

Browse files
committed
test: fix snapshots
1 parent 38d2c32 commit 6727a01

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

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

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,64 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`prints correct coverage report, if a CJS module is put under test without transformation 1`] = `
3+
exports[`on node >=12.16.0 prints correct coverage report, if a TS module is transpiled by custom transformer to ESM put under test 1`] = `
44
console.log
55
this will print
66
7-
at covered (module.js:11:11)
7+
at covered (module.ts:13:11)
88
99
--------------|---------|----------|---------|---------|-------------------
1010
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
1111
--------------|---------|----------|---------|---------|-------------------
12-
All files | 59.38 | 60 | 50 | 59.38 |
13-
module.js | 79.17 | 75 | 66.67 | 79.17 | 14-16,19-20
14-
uncovered.js | 0 | 0 | 0 | 0 | 1-8
12+
All files | 50 | 25 | 25 | 50 |
13+
module.ts | 80.77 | 50 | 50 | 80.77 | 16-18,21-22
14+
types.ts | 0 | 0 | 0 | 0 | 1-8
15+
uncovered.ts | 0 | 0 | 0 | 0 | 1-8
1516
--------------|---------|----------|---------|---------|-------------------
1617
`;
1718

18-
exports[`prints correct coverage report, if a TS module is transpiled by Babel to CJS and put under test 1`] = `
19+
exports[`on node >=12.16.0 prints correct coverage report, if an ESM module is put under test without transformation 1`] = `
1920
console.log
2021
this will print
2122
22-
at log (module.ts:13:11)
23+
at covered (module.js:11:11)
2324
2425
--------------|---------|----------|---------|---------|-------------------
2526
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
2627
--------------|---------|----------|---------|---------|-------------------
27-
All files | 50 | 25 | 25 | 50 |
28-
module.ts | 80.77 | 50 | 50 | 80.77 | 16-18,21-22
29-
types.ts | 0 | 0 | 0 | 0 | 1-8
30-
uncovered.ts | 0 | 0 | 0 | 0 | 1-8
28+
All files | 59.38 | 50 | 33.33 | 59.38 |
29+
module.js | 79.17 | 66.67 | 50 | 79.17 | 14-16,19-20
30+
uncovered.js | 0 | 0 | 0 | 0 | 1-8
3131
--------------|---------|----------|---------|---------|-------------------
3232
`;
3333

34-
exports[`prints correct coverage report, if a TS module is transpiled by custom transformer to ESM put under test 1`] = `
34+
exports[`prints correct coverage report, if a CJS module is put under test without transformation 1`] = `
3535
console.log
3636
this will print
3737
38-
at covered (module.ts:13:11)
38+
at covered (module.js:11:11)
3939
4040
--------------|---------|----------|---------|---------|-------------------
4141
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
4242
--------------|---------|----------|---------|---------|-------------------
43-
All files | 50 | 25 | 25 | 50 |
44-
module.ts | 80.77 | 50 | 50 | 80.77 | 16-18,21-22
45-
types.ts | 0 | 0 | 0 | 0 | 1-8
46-
uncovered.ts | 0 | 0 | 0 | 0 | 1-8
43+
All files | 59.38 | 60 | 50 | 59.38 |
44+
module.js | 79.17 | 75 | 66.67 | 79.17 | 14-16,19-20
45+
uncovered.js | 0 | 0 | 0 | 0 | 1-8
4746
--------------|---------|----------|---------|---------|-------------------
4847
`;
4948

50-
exports[`prints correct coverage report, if an ESM module is put under test without transformation 1`] = `
49+
exports[`prints correct coverage report, if a TS module is transpiled by Babel to CJS and put under test 1`] = `
5150
console.log
5251
this will print
5352
54-
at covered (module.js:11:11)
53+
at log (module.ts:13:11)
5554
5655
--------------|---------|----------|---------|---------|-------------------
5756
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
5857
--------------|---------|----------|---------|---------|-------------------
59-
All files | 59.38 | 50 | 33.33 | 59.38 |
60-
module.js | 79.17 | 66.67 | 50 | 79.17 | 14-16,19-20
61-
uncovered.js | 0 | 0 | 0 | 0 | 1-8
58+
All files | 50 | 25 | 25 | 50 |
59+
module.ts | 80.77 | 50 | 50 | 80.77 | 16-18,21-22
60+
types.ts | 0 | 0 | 0 | 0 | 1-8
61+
uncovered.ts | 0 | 0 | 0 | 0 | 1-8
6262
--------------|---------|----------|---------|---------|-------------------
6363
`;
6464

0 commit comments

Comments
 (0)