We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 359a508 commit 8946bc7Copy full SHA for 8946bc7
test/sequential/test-debugger-watchers.mjs
@@ -6,16 +6,16 @@ import startCLI from '../common/debugger.js';
6
7
import assert from 'assert';
8
9
+const script = path('debugger', 'break.js');
10
+const cli = startCLI([script]);
11
+
12
function onFatal(error) {
13
cli.quit();
14
throw error;
15
}
16
17
// Stepping through breakpoints.
18
try {
- const script = path('debugger', 'break.js');
- const cli = startCLI([script]);
-
19
await cli.waitForInitialBreak();
20
await cli.waitForPrompt();
21
await cli.command('watch("x")');
@@ -44,6 +44,6 @@ try {
44
);
45
46
await cli.quit();
47
-} catch(error) {
48
- onFatal(error)
49
-}
+} catch (error) {
+ onFatal(error);
+}
0 commit comments