Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
test:modify the file for removal of lint errors
  • Loading branch information
pshastricb authored Sep 16, 2022
commit d3f94232e8c34e1a3f159fabe409e21b65618610
9 changes: 4 additions & 5 deletions test/sequential/test-debugger-custom-port.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,14 @@ const script = fixtures.path('debugger', 'three-lines.js');

const cli = startCLI([`--port=${common.PORT}`, script]);
(async function() {
try
{
try {
await cli.waitForInitialBreak();
await cli.waitForPrompt();
assert.match(cli.output, /debug>/, 'prints a prompt');
assert.match(
cli.output,
new RegExp(`< Debugger listening on [^\n]*${common.PORT}`),
'forwards child output');
cli.output,
new RegExp(`< Debugger listening on [^\n]*${common.PORT}`),
'forwards child output');
} finally {
const code = await cli.quit();
assert.strictEqual(code, 0);
Expand Down