Commit a5ebc89
test_runner: support defining test reporter in NODE_OPTIONS
Adds --test-reporter and --test-reporter-destination as
allowable options in NODE_OPTIONS. Also adds the CLI flag
--test-child-process to allow forcing the default
test-reporter for inter-process communication.
Fixes: #46484
PR-URL: #46688
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>1 parent b3fe2ba commit a5ebc89Copy full SHA for a5ebc89
File tree
Expand file treeCollapse file tree
4 files changed
+36
-17
lines changedOpen diff view settings
Filter options
- doc/api
- lib/internal/test_runner
- src
Expand file treeCollapse file tree
4 files changed
+36
-17
lines changedOpen diff view settings
Collapse file
+7Lines changed: 7 additions & 0 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1941 | 1941 | |
1942 | 1942 | |
1943 | 1943 | |
| 1944 | + |
| 1945 | + |
1944 | 1946 | |
1945 | 1947 | |
1946 | 1948 | |
| ||
2082 | 2084 | |
2083 | 2085 | |
2084 | 2086 | |
| 2087 | + |
| 2088 | + |
| 2089 | + |
| 2090 | + |
| 2091 | + |
2085 | 2092 | |
2086 | 2093 | |
2087 | 2094 | |
|
Collapse file
lib/internal/test_runner/runner.js
Copy file name to clipboardExpand all lines: lib/internal/test_runner/runner.js+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
145 | 145 | |
146 | 146 | |
147 | 147 | |
| 148 | + |
148 | 149 | |
149 | 150 | |
150 | 151 | |
| ||
260 | 261 | |
261 | 262 | |
262 | 263 | |
263 | | - |
| 264 | + |
264 | 265 | |
265 | 266 | |
266 | 267 | |
|
Collapse file
lib/internal/test_runner/utils.js
Copy file name to clipboardExpand all lines: lib/internal/test_runner/utils.js+23-14Lines changed: 23 additions & 14 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
8 | 8 | |
9 | 9 | |
10 | 10 | |
| 11 | + |
11 | 12 | |
12 | 13 | |
13 | 14 | |
| ||
166 | 167 | |
167 | 168 | |
168 | 169 | |
169 | | - |
170 | | - |
| 170 | + |
| 171 | + |
| 172 | + |
171 | 173 | |
172 | 174 | |
173 | 175 | |
174 | | - |
175 | | - |
176 | | - |
| 176 | + |
| 177 | + |
| 178 | + |
| 179 | + |
| 180 | + |
| 181 | + |
| 182 | + |
| 183 | + |
| 184 | + |
177 | 185 | |
178 | | - |
179 | | - |
180 | | - |
| 186 | + |
| 187 | + |
| 188 | + |
181 | 189 | |
182 | | - |
183 | | - |
184 | | - |
185 | | - |
186 | | - |
187 | | - |
| 190 | + |
| 191 | + |
| 192 | + |
| 193 | + |
| 194 | + |
| 195 | + |
| 196 | + |
188 | 197 | |
189 | 198 | |
190 | 199 | |
|
Collapse file
+4-2Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
569 | 569 | |
570 | 570 | |
571 | 571 | |
572 | | - |
| 572 | + |
| 573 | + |
573 | 574 | |
574 | 575 | |
575 | | - |
| 576 | + |
| 577 | + |
576 | 578 | |
577 | 579 | |
578 | 580 | |
|
0 commit comments