1
1
// Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
3
+ exports [` c8 /* c8 ignore next */ does not incorrectly mark previous branch as uncovered (see #254) 1` ] = `
4
+ ",--------------|---------|----------|---------|---------|-------------------
5
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
6
+ --------------|---------|----------|---------|---------|-------------------
7
+ All files | 100 | 100 | 100 | 100 |
8
+ issue-254.js | 100 | 100 | 100 | 100 |
9
+ --------------|---------|----------|---------|---------|-------------------
10
+ ,"
11
+ ` ;
12
+
3
13
exports [` c8 /* c8 ignore next */ ignores lines with special comment 1` ] = `
4
14
",covered
5
15
covered
@@ -38,9 +48,9 @@ negative
38
48
-----------------|---------|----------|---------|---------|-------------------
39
49
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
40
50
-----------------|---------|----------|---------|---------|-------------------
41
- All files | 64.29 | 66.67 | 50 | 64.29 |
42
- ts-compiled | 78.26 | 75 | 100 | 78.26 |
43
- loaded.ts | 73.68 | 71.43 | 100 | 73.68 | 4-5,16-18
51
+ All files | 64.29 | 57.14 | 50 | 64.29 |
52
+ ts-compiled | 78.26 | 66.67 | 100 | 78.26 |
53
+ loaded.ts | 73.68 | 66.67 | 100 | 73.68 | 4-5,16-18
44
54
main.ts | 100 | 100 | 100 | 100 |
45
55
ts-compiled/dir | 0 | 0 | 0 | 0 |
46
56
unloaded.ts | 0 | 0 | 0 | 0 | 1-5
@@ -55,9 +65,9 @@ negative
55
65
--------------|---------|----------|---------|---------|-------------------
56
66
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
57
67
--------------|---------|----------|---------|---------|-------------------
58
- All files | 64.29 | 66.67 | 50 | 64.29 |
59
- ts-only | 78.26 | 75 | 100 | 78.26 |
60
- loaded.ts | 73.68 | 71.43 | 100 | 73.68 | 4-5,16-18
68
+ All files | 64.29 | 57.14 | 50 | 64.29 |
69
+ ts-only | 78.26 | 66.67 | 100 | 78.26 |
70
+ loaded.ts | 73.68 | 66.67 | 100 | 73.68 | 4-5,16-18
61
71
main.ts | 100 | 100 | 100 | 100 |
62
72
ts-only/dir | 0 | 0 | 0 | 0 |
63
73
unloaded.ts | 0 | 0 | 0 | 0 | 1-5
@@ -326,8 +336,8 @@ a = false
326
336
------------------------|---------|----------|---------|---------|-------------------
327
337
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
328
338
------------------------|---------|----------|---------|---------|-------------------
329
- All files | 84 | 57.14 | 100 | 84 |
330
- branches.typescript.ts | 84 | 57.14 | 100 | 84 | 7,11-12,18
339
+ All files | 84 | 50 | 100 | 84 |
340
+ branches.typescript.ts | 84 | 50 | 100 | 84 | 7,11-12,18
331
341
------------------------|---------|----------|---------|---------|-------------------
332
342
,"
333
343
`;
@@ -341,8 +351,8 @@ covered
341
351
-----------------------|---------|----------|---------|---------|-------------------
342
352
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
343
353
-----------------------|---------|----------|---------|---------|-------------------
344
- All files | 81.82 | 87.5 | 60 | 81.82 |
345
- classes.typescript.ts | 81.82 | 87.5 | 60 | 81.82 | 12-13,21-22,27-28
354
+ All files | 81.82 | 85.71 | 60 | 81.82 |
355
+ classes.typescript.ts | 81.82 | 85.71 | 60 | 81.82 | 12-13,21-22,27-28
346
356
-----------------------|---------|----------|---------|---------|-------------------
347
357
,"
348
358
`;
@@ -354,8 +364,8 @@ a = false
354
364
-------------|---------|----------|---------|---------|-------------------
355
365
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
356
366
-------------|---------|----------|---------|---------|-------------------
357
- All files | 80 | 50 | 100 | 80 |
358
- branches.js | 80 | 50 | 100 | 80 | 2,5-6,13
367
+ All files | 80 | 40 | 100 | 80 |
368
+ branches.js | 80 | 40 | 100 | 80 | 2,5-6,13
359
369
-------------|---------|----------|---------|---------|-------------------
360
370
,"
361
371
`;
@@ -369,8 +379,8 @@ covered
369
379
------------|---------|----------|---------|---------|-------------------
370
380
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
371
381
------------|---------|----------|---------|---------|-------------------
372
- All files | 85.19 | 83.33 | 60 | 85.19 |
373
- classes.js | 85.19 | 83.33 | 60 | 85.19 | 6-7,15,21
382
+ All files | 85.19 | 80 | 60 | 85.19 |
383
+ classes.js | 85.19 | 80 | 60 | 85.19 | 6-7,15,21
374
384
------------|---------|----------|---------|---------|-------------------
375
385
,"
376
386
`;
@@ -392,8 +402,8 @@ a = false
392
402
-------------|---------|----------|---------|---------|-------------------
393
403
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
394
404
-------------|---------|----------|---------|---------|-------------------
395
- All files | 75 | 55.56 | 100 | 75 |
396
- branches.js | 75 | 55.56 | 100 | 75 | 4 -7,13
405
+ All files | 80 | 40 | 100 | 80 |
406
+ branches.js | 80 | 40 | 100 | 80 | 2,6 -7,13
397
407
-------------|---------|----------|---------|---------|-------------------
398
408
,"
399
409
`;
@@ -407,8 +417,8 @@ covered
407
417
------------|---------|----------|---------|---------|-------------------
408
418
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
409
419
------------|---------|----------|---------|---------|-------------------
410
- All files | 70.37 | 80 | 71.43 | 70.37 |
411
- classes.js | 70.37 | 80 | 71.43 | 70.37 | 5 -8,15-16,21-22
420
+ All files | 77.78 | 83.33 | 60 | 77.78 |
421
+ classes.js | 77.78 | 83.33 | 60 | 77.78 | 7 -8,15-16,21-22
412
422
------------|---------|----------|---------|---------|-------------------
413
423
,"
414
424
`;
@@ -436,9 +446,9 @@ covered
436
446
------------|---------|----------|---------|---------|-------------------
437
447
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
438
448
------------|---------|----------|---------|---------|-------------------
439
- All files | 78.57 | 85.71 | 60 | 78.57 |
449
+ All files | 78.57 | 83.33 | 60 | 78.57 |
440
450
class-1.js | 100 | 100 | 100 | 100 |
441
- class-2.js | 73.91 | 85.71 | 60 | 73.91 | 7-8,15-16,21-22
451
+ class-2.js | 73.91 | 83.33 | 60 | 73.91 | 7-8,15-16,21-22
442
452
------------|---------|----------|---------|---------|-------------------
443
453
,"
444
454
`;
@@ -452,8 +462,8 @@ covered
452
462
------------------|---------|----------|---------|---------|-------------------
453
463
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
454
464
------------------|---------|----------|---------|---------|-------------------
455
- All files | 88.24 | 87.5 | 80 | 88.24 |
456
- ts-node-basic.ts | 88.24 | 87.5 | 80 | 88.24 | 12-13,28-29
465
+ All files | 88.24 | 85.71 | 80 | 88.24 |
466
+ ts-node-basic.ts | 88.24 | 85.71 | 80 | 88.24 | 12-13,28-29
457
467
------------------|---------|----------|---------|---------|-------------------
458
468
,"
459
469
`;
0 commit comments