Commit 2c56835
test_runner: fixed
`test.todo`, `test.only` and `test.skip` are expected to return the
same as `test`. This commit corrects the inconsistent behavior of
these shorthands.
Fixes: #48557
PR-URL: #48555
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>test shorthands return type1 parent 6d00c2e commit 2c56835Copy full SHA for 2c56835
File tree
Expand file treeCollapse file tree
2 files changed
+37
-3
lines changedOpen diff view settings
Filter options
- lib/internal/test_runner
- test/parallel
Expand file treeCollapse file tree
2 files changed
+37
-3
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+1-3Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
216 | 216 | |
217 | 217 | |
218 | 218 | |
219 | | - |
220 | | - |
221 | | - |
| 219 | + |
222 | 220 | |
223 | 221 | |
224 | 222 | |
|
Collapse file
test/parallel/test-runner-typechecking.js
Copy file name to clipboard+36Lines changed: 36 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 | + |
0 commit comments