Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9f14625

Browse filesBrowse files
chanduMedanielleadams
authored andcommitted
test: use async/await in test-debugger-help
PR-URL: #44686 Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent 8033ad8 commit 9f14625
Copy full SHA for 9f14625

File tree

Expand file treeCollapse file tree

2 files changed

+19
-27
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+19
-27
lines changed
Open diff view settings
Collapse file

‎test/sequential/test-debugger-help.js‎

Copy file name to clipboardExpand all lines: test/sequential/test-debugger-help.js
-27Lines changed: 0 additions & 27 deletions
This file was deleted.
Collapse file
+19Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.