Commit ddf819f
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 d8d2d33 commit ddf819fCopy full SHA for ddf819f
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 |
|---|---|---|
| ||
1915 | 1915 | |
1916 | 1916 | |
1917 | 1917 | |
| 1918 | + |
| 1919 | + |
1918 | 1920 | |
1919 | 1921 | |
1920 | 1922 | |
| ||
2056 | 2058 | |
2057 | 2059 | |
2058 | 2060 | |
| 2061 | + |
| 2062 | + |
| 2063 | + |
| 2064 | + |
| 2065 | + |
2059 | 2066 | |
2060 | 2067 | |
2061 | 2068 | |
|
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 |
|---|---|---|
| ||
144 | 144 | |
145 | 145 | |
146 | 146 | |
| 147 | + |
147 | 148 | |
148 | 149 | |
149 | 150 | |
| ||
259 | 260 | |
260 | 261 | |
261 | 262 | |
262 | | - |
| 263 | + |
263 | 264 | |
264 | 265 | |
265 | 266 | |
|
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 |
|---|---|---|
| ||
9 | 9 | |
10 | 10 | |
11 | 11 | |
| 12 | + |
12 | 13 | |
13 | 14 | |
14 | 15 | |
| ||
167 | 168 | |
168 | 169 | |
169 | 170 | |
170 | | - |
171 | | - |
| 171 | + |
| 172 | + |
| 173 | + |
172 | 174 | |
173 | 175 | |
174 | 176 | |
175 | | - |
176 | | - |
177 | | - |
| 177 | + |
| 178 | + |
| 179 | + |
| 180 | + |
| 181 | + |
| 182 | + |
| 183 | + |
| 184 | + |
| 185 | + |
178 | 186 | |
179 | | - |
180 | | - |
181 | | - |
| 187 | + |
| 188 | + |
| 189 | + |
182 | 190 | |
183 | | - |
184 | | - |
185 | | - |
186 | | - |
187 | | - |
188 | | - |
| 191 | + |
| 192 | + |
| 193 | + |
| 194 | + |
| 195 | + |
| 196 | + |
| 197 | + |
189 | 198 | |
190 | 199 | |
191 | 200 | |
|
Collapse file
+4-2Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
574 | 574 | |
575 | 575 | |
576 | 576 | |
577 | | - |
| 577 | + |
| 578 | + |
578 | 579 | |
579 | 580 | |
580 | | - |
| 581 | + |
| 582 | + |
581 | 583 | |
582 | 584 | |
583 | 585 | |
|
0 commit comments