diff --git a/test/sequential/test-debugger-list.js b/test/sequential/test-debugger-list.js index b5fe3143535ed7..ba6fa1e801df3f 100644 --- a/test/sequential/test-debugger-list.js +++ b/test/sequential/test-debugger-list.js @@ -26,7 +26,7 @@ cli.waitForInitialBreak() }) .then(() => cli.command('c')) .then(() => cli.waitFor(/disconnect/)) - .then(() => cli.waitForPrompt()) + .then(() => cli.waitFor(/debug> $/)) .then(() => cli.command('list()')) .then(() => { assert.match(cli.output, /Uncaught Error \[ERR_DEBUGGER_ERROR\]: Requires execution to be paused/);