MCPcopy
hub / github.com/vitest-dev/vitest / waitForStderr

Method waitForStderr

test/test-utils/cli.ts:68–70  ·  view source on GitHub ↗
(expected: string)

Source from the content-addressed store, hash-verified

66 }
67
68 waitForStderr(expected: string) {
69 return this.waitForOutput(expected, 'stderr', this.waitForStderr)
70 }
71
72 private waitForOutput(expected: string, source: Source, caller: Parameters<typeof Error.captureStackTrace>[1]) {
73 const error = new Error('Timeout')

Callers 2

inspect.test.tsFile · 0.80

Calls 1

waitForOutputMethod · 0.95

Tested by

no test coverage detected