Skip to content

Commit

Permalink
test: corrected linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
Pooja444 committed Sep 16, 2022
1 parent 359a508 commit 8946bc7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/sequential/test-debugger-watchers.mjs
Expand Up @@ -6,16 +6,16 @@ import startCLI from '../common/debugger.js';

import assert from 'assert';

const script = path('debugger', 'break.js');
const cli = startCLI([script]);

function onFatal(error) {
cli.quit();
throw error;
}

// Stepping through breakpoints.
try {
const script = path('debugger', 'break.js');
const cli = startCLI([script]);

await cli.waitForInitialBreak();
await cli.waitForPrompt();
await cli.command('watch("x")');
Expand Down Expand Up @@ -44,6 +44,6 @@ try {
);

await cli.quit();
} catch(error) {
onFatal(error)
}
} catch (error) {
onFatal(error);
}

0 comments on commit 8946bc7

Please sign in to comment.