MCPcopy Create free account
hub / github.com/nodejs/node / testStartupPauseHandling

Function testStartupPauseHandling

test/parallel/test-debugger-probe-startup-pause.js:23–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21};
22
23async function testStartupPauseHandling() {
24 await session.handlePaused({});
25 assert.deepStrictEqual(cdpCalls, []);
26
27 session.started = true;
28 await session.handlePaused({});
29 assert.deepStrictEqual(cdpCalls, ['Debugger.resume']);
30}
31
32testStartupPauseHandling().then(common.mustCall());

Calls 1

handlePausedMethod · 0.80

Tested by

no test coverage detected