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

Function runTest

test/parallel/test-inspector-esm.js:103–112  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

101}
102
103async function runTest() {
104 const child = new NodeInstance(['--inspect-brk=0'], '',
105 fixtures.path('es-modules/loop.mjs'));
106
107 const session = await child.connectInspectorSession();
108 await testBreakpointOnStart(session);
109 await testBreakpoint(session);
110 await session.runToCompletion();
111 assert.strictEqual((await child.expectShutdown()).exitCode, 55);
112}
113
114runTest().then(common.mustCall());

Callers 1

Calls 6

expectShutdownMethod · 0.95
runToCompletionMethod · 0.80
testBreakpointOnStartFunction · 0.70
testBreakpointFunction · 0.70
pathMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…