Commit ae91a6c
tools: only add test reporter args when node:test is used
If the test does not use node:test, don't append the unnecessary
arguments to avoid cluttering the command line printed by the
test runner when the test fails.
PR-URL: #60551
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>1 parent 6e1b23d commit ae91a6cCopy full SHA for ae91a6c
File tree
Expand file treeCollapse file tree
2 files changed
+10
-5
lines changedOpen diff view settings
Filter options
- test/testpy
- tools
Expand file treeCollapse file tree
2 files changed
+10
-5
lines changedOpen diff view settings
Collapse file
+5Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
35 | 35 | |
36 | 36 | |
37 | 37 | |
| 38 | + |
38 | 39 | |
39 | 40 | |
40 | 41 | |
| ||
98 | 99 | |
99 | 100 | |
100 | 101 | |
| 102 | + |
| 103 | + |
| 104 | + |
| 105 | + |
101 | 106 | |
102 | 107 | |
103 | 108 | |
|
Collapse file
+5-5Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
969 | 969 | |
970 | 970 | |
971 | 971 | |
| 972 | + |
972 | 973 | |
973 | 974 | |
974 | 975 | |
| ||
1461 | 1462 | |
1462 | 1463 | |
1463 | 1464 | |
1464 | | - |
| 1465 | + |
1465 | 1466 | |
1466 | 1467 | |
1467 | 1468 | |
| ||
1679 | 1680 | |
1680 | 1681 | |
1681 | 1682 | |
1682 | | - |
1683 | | - |
1684 | | - |
1685 | | - |
1686 | 1683 | |
1687 | 1684 | |
1688 | 1685 | |
| ||
1701 | 1698 | |
1702 | 1699 | |
1703 | 1700 | |
| 1701 | + |
| 1702 | + |
| 1703 | + |
1704 | 1704 | |
1705 | 1705 | |
1706 | 1706 | |
|
0 commit comments