(flag)
| 11 | import assert from 'assert'; |
| 12 | |
| 13 | async function getEvaluatedArgv(flag) { |
| 14 | const script = fixtures.path('debugger', 'empty.js'); |
| 15 | const cli = startCLI([script, flag]); |
| 16 | try { |
| 17 | await cli.waitForInitialBreak(); |
| 18 | await cli.waitForPrompt(); |
| 19 | await cli.command('exec process.argv'); |
| 20 | return cli.output; |
| 21 | } finally { |
| 22 | await cli.quit(); |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | async function checkForwardedHelp(flag) { |
| 27 | const output = await getEvaluatedArgv(flag); |
no test coverage detected