(flag)
| 24 | } |
| 25 | |
| 26 | async function checkForwardedHelp(flag) { |
| 27 | const output = await getEvaluatedArgv(flag); |
| 28 | assert(output.includes(`'${flag}'`), |
| 29 | `expected debuggee process.argv to include "${flag}", got:\n${output}`); |
| 30 | assert.doesNotMatch(output, /Usage: .+ inspect/); |
| 31 | } |
| 32 | |
| 33 | await checkForwardedHelp('--help'); |
| 34 | await checkForwardedHelp('-h'); |
no test coverage detected