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

Function runTests

test/parallel/test-inspector-break-when-eval.js:68–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66}
67
68async function runTests() {
69 // NOTE(mmarchini): Use --inspect-brk to improve avoid indeterministic
70 // behavior.
71 const child = new NodeInstance(['--inspect-brk=0'], undefined, script);
72 const session = await child.connectInspectorSession();
73 await setupDebugger(session);
74 await breakOnLine(session);
75 await stepOverConsoleStatement(session);
76 await session.runToCompletion();
77 assert.strictEqual((await child.expectShutdown()).exitCode, 0);
78}
79
80runTests().then(common.mustCall());

Calls 6

expectShutdownMethod · 0.95
setupDebuggerFunction · 0.85
breakOnLineFunction · 0.85
stepOverConsoleStatementFunction · 0.85
runToCompletionMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…