tools: only add test reporter args when node:test is used · nodejs/node@ae91a6c · GitHub
Skip to content

Commit ae91a6c

Browse files
joyeecheungaduh95
authored andcommitted
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 ae91a6c

2 files changed

Lines changed: 10 additions & 5 deletions

File tree

test/testpy/__init__.py

Lines changed: 5 additions & 0 deletions

tools/test.py

Lines changed: 5 additions & 5 deletions

0 commit comments

Comments
 (0)