Commit 323f96f
test: add error only reporter for node:test
This commit introduces a node:test reporter to the common utils.
This reporter can be used to silence output other than errors
from node:test. This is useful because in Node's own test suite,
the output of node:test is included in the output of the
Python test runner.
Refs: #49120
PR-URL: #56438
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com>1 parent 4e4b0c6 commit 323f96fCopy full SHA for 323f96f
File tree
Expand file treeCollapse file tree
12 files changed
+93
-8
lines changedOpen diff view settings
Filter options
- .github/workflows
- test
- common
- fixtures/test-runner/error-reporter-fail-fast
- parallel
Expand file treeCollapse file tree
12 files changed
+93
-8
lines changedOpen diff view settings
Collapse file
.github/workflows/build-tarball.yml
Copy file name to clipboardExpand all lines: .github/workflows/build-tarball.yml+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
105 | 105 | |
106 | 106 | |
107 | 107 | |
108 | | - |
| 108 | + |
Collapse file
.github/workflows/coverage-linux-without-intl.yml
Copy file name to clipboardExpand all lines: .github/workflows/coverage-linux-without-intl.yml+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
68 | 68 | |
69 | 69 | |
70 | 70 | |
71 | | - |
| 71 | + |
72 | 72 | |
73 | 73 | |
74 | 74 | |
|
Collapse file
.github/workflows/coverage-linux.yml
Copy file name to clipboardExpand all lines: .github/workflows/coverage-linux.yml+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
68 | 68 | |
69 | 69 | |
70 | 70 | |
71 | | - |
| 71 | + |
72 | 72 | |
73 | 73 | |
74 | 74 | |
|
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
40 | 40 | |
41 | 41 | |
42 | 42 | |
43 | | - |
| 43 | + |
Collapse file
.github/workflows/test-asan.yml
Copy file name to clipboardExpand all lines: .github/workflows/test-asan.yml+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
63 | 63 | |
64 | 64 | |
65 | 65 | |
66 | | - |
| 66 | + |
Collapse file
.github/workflows/test-linux.yml
Copy file name to clipboardExpand all lines: .github/workflows/test-linux.yml+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
54 | 54 | |
55 | 55 | |
56 | 56 | |
57 | | - |
| 57 | + |
58 | 58 | |
59 | 59 | |
60 | 60 | |
|
Collapse file
.github/workflows/test-macos.yml
Copy file name to clipboardExpand all lines: .github/workflows/test-macos.yml+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
89 | 89 | |
90 | 90 | |
91 | 91 | |
92 | | - |
| 92 | + |
93 | 93 | |
94 | 94 | |
95 | 95 | |
|
Collapse file
.github/workflows/test-ubsan.yml
Copy file name to clipboardExpand all lines: .github/workflows/test-ubsan.yml+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
64 | 64 | |
65 | 65 | |
66 | 66 | |
67 | | - |
| 67 | + |
Collapse file
test/common/test-error-reporter.js
Copy file name to clipboard+41Lines changed: 41 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
Collapse file
test/fixtures/test-runner/error-reporter-fail-fast/a.mjs
Copy file name to clipboard+6Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
0 commit comments