MCPcopy Index your code
hub / github.com/nodejs/node / runTest

Function runTest

test/parallel/test-inspector-exception.js:39–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37
38
39async function runTest() {
40 const child = new NodeInstance(undefined, undefined, script);
41 const session = await child.connectInspectorSession();
42 await testBreakpointOnStart(session);
43 await session.runToCompletion();
44 assert.strictEqual((await child.expectShutdown()).exitCode, 1);
45}
46
47runTest().then(common.mustCall());

Callers 1

Calls 4

expectShutdownMethod · 0.95
runToCompletionMethod · 0.80
testBreakpointOnStartFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…