Skip to content

Commit

Permalink
test: fix formatting in test-inspector-instrumentation-breakpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
ulitink authored and aduh95 committed Oct 23, 2023
1 parent 8295b19 commit af7e50e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/known_issues/test-inspector-instrumentation-breakpoint.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,22 @@ async function testBreakpointBeforeScriptExecution(session) {
// Break on start
await session.waitForBreakOnLine(
0, UrlResolve(session.scriptURL().toString(), 'main.js'));
await session.send([{'method': 'Debugger.resume'}]);
await session.send([{ 'method': 'Debugger.resume' }]);

// Script loaded
await session.waitForBreakOnLine(
0, UrlResolve(session.scriptURL().toString(), 'main.js'));
await session.send([{'method': 'Debugger.resume'}]);
await session.send([{ 'method': 'Debugger.resume' }]);

// Script loaded
await session.waitForBreakOnLine(
0, UrlResolve(session.scriptURL().toString(), 'dep.js'));
await session.send([{'method': 'Debugger.resume'}]);
await session.send([{ 'method': 'Debugger.resume' }]);
}

async function runTest() {
const child = new NodeInstance(['--inspect-brk=0'], '',
fixtures.path('inspector-instrumentation-breakpoint', 'main.js'));
const main = fixtures.path('inspector-instrumentation-breakpoint', 'main.js');
const child = new NodeInstance(['--inspect-brk=0'], '', main);

const session = await child.connectInspectorSession();
await testBreakpointBeforeScriptExecution(session);
Expand Down

0 comments on commit af7e50e

Please sign in to comment.