Commit e2668c0
test_runner: print failing assertion only once with spec reporter
Co-authored-by: Llorx <dallorx@gmail.com>
PR-URL: #56662
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 8f59f5b commit e2668c0Copy full SHA for e2668c0
File tree
Expand file treeCollapse file tree
8 files changed
+5
-782
lines changedOpen diff view settings
Filter options
- lib/internal/test_runner/reporter
- test/fixtures/test-runner/output
Expand file treeCollapse file tree
8 files changed
+5
-782
lines changedOpen diff view settings
Collapse file
lib/internal/test_runner/reporter/spec.js
Copy file name to clipboardExpand all lines: lib/internal/test_runner/reporter/spec.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
52 | 52 | |
53 | 53 | |
54 | 54 | |
55 | | - |
| 55 | + |
56 | 56 | |
57 | 57 | |
58 | 58 | |
|
Collapse file
lib/internal/test_runner/reporter/utils.js
Copy file name to clipboardExpand all lines: lib/internal/test_runner/reporter/utils.js+4-2Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
59 | 59 | |
60 | 60 | |
61 | 61 | |
62 | | - |
| 62 | + |
63 | 63 | |
64 | 64 | |
65 | 65 | |
| ||
71 | 71 | |
72 | 72 | |
73 | 73 | |
74 | | - |
| 74 | + |
| 75 | + |
75 | 76 | |
76 | 77 | |
77 | 78 | |
| 79 | + |
78 | 80 | |
79 | 81 | |
80 | 82 | |
|
Collapse file
test/fixtures/test-runner/output/assertion-color-tty.snapshot
Copy file name to clipboardExpand all lines: test/fixtures/test-runner/output/assertion-color-tty.snapshot-12Lines changed: 0 additions & 12 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | 2 | |
15 | 3 | |
16 | 4 | |
|
Collapse file
test/fixtures/test-runner/output/default_output.snapshot
Copy file name to clipboardExpand all lines: test/fixtures/test-runner/output/default_output.snapshot-23Lines changed: 0 additions & 23 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | 3 | |
13 | 4 | |
14 | 5 | |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | 6 | |
28 | | - |
29 | | - |
30 | 7 | |
31 | 8 | |
32 | 9 | |
|
Collapse file
test/fixtures/test-runner/output/eval_spec.snapshot
Copy file name to clipboardExpand all lines: test/fixtures/test-runner/output/eval_spec.snapshot-9Lines changed: 0 additions & 9 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | 3 | |
13 | 4 | |
14 | 5 | |
|
0 commit comments