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

Function checkScriptContext

test/parallel/test-inspector-scriptparsed-context.js:39–43  ·  view source on GitHub ↗
(session, context)

Source from the content-addressed store, hash-verified

37}
38
39async function checkScriptContext(session, context) {
40 const scriptParsed =
41 await session.waitForNotification('Debugger.scriptParsed');
42 assert.strictEqual(scriptParsed.params.executionContextId, context.id);
43}
44
45async function runTests() {
46 const instance = new NodeInstance(['--inspect-brk=0', '--expose-internals'],

Callers 1

runTestsFunction · 0.85

Calls 1

waitForNotificationMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…