| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,19 @@ | |||
| 1 | + import { skipIfInspectorDisabled } from '../common/index.mjs'; | ||
| 2 | + | ||
| 3 | + skipIfInspectorDisabled(); | ||
| 4 | + | ||
| 5 | + import { path } from '../common/fixtures.mjs'; | ||
| 6 | + import startCLI from '../common/debugger.js'; | ||
| 7 | + | ||
| 8 | + import assert from 'assert'; | ||
| 9 | + | ||
| 10 | + const cli = startCLI([path('debugger', 'empty.js')]); | ||
| 11 | + | ||
| 12 | + try { | ||
| 13 | + await cli.waitForInitialBreak(); | ||
| 14 | + await cli.waitForPrompt(); | ||
| 15 | + await cli.command('help'); | ||
| 16 | + assert.match(cli.output, /run, restart, r\s+/m); | ||
| 17 | + } finally { | ||
| 18 | + cli.quit(); | ||
| 19 | + } | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments