GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: wait for ok before initial break after restart · nodejs/node@362644a

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test/parallel
    • test-debugger-run-after-quit-restart.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/parallel/test-debugger-run-after-quit-restart.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-debugger-run-after-quit-restart.js
+4-2Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ const path = require('path');
4242
assert.match(cli.output, /Use `run` to start the app again/);
4343
})
4444
.then(() => cli.command('run'))
45+
.then(() => cli.waitFor(/ ok\n/))
4546
.then(() => cli.waitForInitialBreak())
4647
.then(() => cli.waitForPrompt())
4748
.then(() => {
@@ -58,9 +59,9 @@ const path = require('path');
5859
);
5960
})
6061
.then(() => cli.command('restart'))
61-
.then(() => cli.waitFor(/Debugger attached\./))
62-
.then(() => cli.waitForPrompt())
62+
.then(() => cli.waitFor(/ ok\n/))
6363
.then(() => cli.waitForInitialBreak())
64+
.then(() => cli.waitForPrompt())
6465
.then(() => {
6566
assert.deepStrictEqual(
6667
cli.breakInfo,
@@ -74,6 +75,7 @@ const path = require('path');
7475
assert.match(cli.output, /Use `run` to start the app again/);
7576
})
7677
.then(() => cli.command('run'))
78+
.then(() => cli.waitFor(/ ok\n/))
7779
.then(() => cli.waitForInitialBreak())
7880
.then(() => cli.waitForPrompt())
7981
.then(() => {

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.