Commit 4b7198c
test_runner: give the root test a harness reference
This commit replaces the 'coverage' reference inside of the Test
class with a more generic harness reference which includes
coverage. This will let the root test more easily track process
level state such as code coverage, uncaughtException handlers,
and the state of bootstrapping.
PR-URL: #46962
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>1 parent 9d4d916 commit 4b7198cCopy full SHA for 4b7198c
File tree
Expand file treeCollapse file tree
2 files changed
+9
-4
lines changedOpen diff view settings
Filter options
- lib/internal/test_runner
Expand file treeCollapse file tree
2 files changed
+9
-4
lines changedOpen diff view settings
Collapse file
lib/internal/test_runner/harness.js
Copy file name to clipboardExpand all lines: lib/internal/test_runner/harness.js+6-1Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
138 | 138 | |
139 | 139 | |
140 | 140 | |
141 | | - |
| 141 | + |
142 | 142 | |
143 | 143 | |
144 | 144 | |
| ||
162 | 162 | |
163 | 163 | |
164 | 164 | |
| 165 | + |
| 166 | + |
| 167 | + |
| 168 | + |
| 169 | + |
165 | 170 | |
166 | 171 | |
167 | 172 | |
|
Collapse file
lib/internal/test_runner/test.js
Copy file name to clipboardExpand all lines: lib/internal/test_runner/test.js+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
251 | 251 | |
252 | 252 | |
253 | 253 | |
254 | | - |
| 254 | + |
255 | 255 | |
256 | 256 | |
257 | 257 | |
| ||
637 | 637 | |
638 | 638 | |
639 | 639 | |
640 | | - |
641 | | - |
| 640 | + |
| 641 | + |
642 | 642 | |
643 | 643 | |
644 | 644 | |
|
0 commit comments