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

Method waitForConsoleOutput

test/common/inspector-helper.js:302–308  ·  view source on GitHub ↗
(type, values)

Source from the content-addressed store, hash-verified

300 }
301
302 waitForConsoleOutput(type, values) {
303 const desc = `Console output matching ${JSON.stringify(values)}`;
304 return this.waitForNotification(
305 (notification) => this._matchesConsoleOutputNotification(notification,
306 type, values),
307 desc);
308 }
309
310 async runToCompletion() {
311 console.log('[test]', 'Verify node waits for the frontend to disconnect');

Callers 7

testBreakpointFunction · 0.80
testI18NCharactersFunction · 0.80
runTestsFunction · 0.80
testBreakpointFunction · 0.80
setupDebuggerFunction · 0.80
stepOverConsoleStatementFunction · 0.80
getDebuggedPidFunction · 0.80

Calls 2

waitForNotificationMethod · 0.95

Tested by

no test coverage detected