Skip to content

Commit

Permalink
test: add failing test case for #2540
Browse files Browse the repository at this point in the history
  • Loading branch information
AriPerkkio committed Dec 31, 2022
1 parent c479d9c commit 548bd49
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 351 deletions.
Expand Up @@ -4,369 +4,23 @@ exports[`c8 json report 1`] = `
{
"<process-cwd>/src/Counter/Counter.component.ts": {
"all": false,
"b": {
"0": [
1,
],
"1": [
2,
],
},
"branchMap": {
"0": {
"line": 6,
"loc": {
"end": {
"column": 4,
"line": 9,
},
"start": {
"column": 2,
"line": 6,
},
},
"locations": [
{
"end": {
"column": 4,
"line": 9,
},
"start": {
"column": 2,
"line": 6,
},
},
],
"type": "branch",
},
"1": {
"line": 16,
"loc": {
"end": {
"column": 6,
"line": 18,
},
"start": {
"column": 4,
"line": 16,
},
},
"locations": [
{
"end": {
"column": 6,
"line": 18,
},
"start": {
"column": 4,
"line": 16,
},
},
],
"type": "branch",
},
},
"f": {
"0": 1,
"1": 0,
"2": 2,
},
"fnMap": {
"0": {
"decl": {
"end": {
"column": 4,
"line": 9,
},
"start": {
"column": 2,
"line": 6,
},
},
"line": 6,
"loc": {
"end": {
"column": 4,
"line": 9,
},
"start": {
"column": 2,
"line": 6,
},
},
"name": "setup",
},
"1": {
"decl": {
"end": {
"column": 6,
"line": 14,
},
"start": {
"column": 4,
"line": 12,
},
},
"line": 12,
"loc": {
"end": {
"column": 6,
"line": 14,
},
"start": {
"column": 4,
"line": 12,
},
},
"name": "uncoveredMethod",
},
"2": {
"decl": {
"end": {
"column": 6,
"line": 18,
},
"start": {
"column": 4,
"line": 16,
},
},
"line": 16,
"loc": {
"end": {
"column": 6,
"line": 18,
},
"start": {
"column": 4,
"line": 16,
},
},
"name": "coveredMethod",
},
},
"b": {},
"branchMap": {},
"f": {},
"fnMap": {},
"path": "<process-cwd>/src/Counter/Counter.component.ts",
"s": {
"0": 1,
"1": 1,
"10": 1,
"11": 1,
"12": 0,
"13": 0,
"14": 1,
"15": 1,
"16": 2,
"17": 2,
"18": 1,
"19": 1,
"2": 1,
"3": 1,
"4": 1,
"5": 1,
"6": 1,
"7": 1,
"8": 1,
"9": 1,
},
"statementMap": {
"0": {
"end": {
"column": 42,
"line": 1,
},
"start": {
"column": 0,
"line": 1,
},
},
"1": {
"end": {
"column": 0,
"line": 2,
},
"start": {
"column": 0,
"line": 2,
},
},
"10": {
"end": {
"column": 12,
"line": 11,
},
"start": {
"column": 0,
"line": 11,
},
},
"11": {
"end": {
"column": 23,
"line": 12,
},
"start": {
"column": 0,
"line": 12,
},
},
"12": {
"end": {
"column": 46,
"line": 13,
},
"start": {
"column": 0,
"line": 13,
},
},
"13": {
"end": {
"column": 6,
"line": 14,
},
"start": {
"column": 0,
"line": 14,
},
},
"14": {
"end": {
"column": 0,
"line": 15,
},
"start": {
"column": 0,
"line": 15,
},
},
"15": {
"end": {
"column": 21,
"line": 16,
},
"start": {
"column": 0,
"line": 16,
},
},
"16": {
"end": {
"column": 42,
"line": 17,
},
"start": {
"column": 0,
"line": 17,
},
},
"17": {
"end": {
"column": 6,
"line": 18,
},
"start": {
"column": 0,
"line": 18,
},
},
"18": {
"end": {
"column": 4,
"line": 19,
},
"start": {
"column": 0,
"line": 19,
},
},
"19": {
"end": {
"column": 2,
"line": 20,
},
"start": {
"column": 0,
"line": 20,
},
},
"2": {
"end": {
"column": 32,
"line": 3,
},
"start": {
"column": 0,
"line": 3,
},
},
"3": {
"end": {
"column": 18,
"line": 4,
},
"start": {
"column": 0,
"line": 4,
},
},
"4": {
"end": {
"column": 0,
"line": 5,
},
"start": {
"column": 0,
"line": 5,
},
},
"5": {
"end": {
"column": 11,
"line": 6,
},
"start": {
"column": 0,
"line": 6,
},
},
"6": {
"end": {
"column": 24,
"line": 7,
},
"start": {
"column": 0,
"line": 7,
},
},
"7": {
"end": {
"column": 20,
"line": 8,
},
"start": {
"column": 0,
"line": 8,
},
},
"8": {
"end": {
"column": 4,
"line": 9,
},
"start": {
"column": 0,
"line": 9,
},
},
"9": {
"end": {
"column": 0,
"line": 10,
},
"start": {
"column": 0,
"line": 10,
"line": 1,
},
},
},
Expand Down

0 comments on commit 548bd49

Please sign in to comment.