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

Function write

test/test-utils/index.ts:85–90  ·  view source on GitHub ↗
(chunk, __, callback)

Source from the content-addressed store, hash-verified

83
84 const stdout = new Writable({
85 write(chunk, __, callback) {
86 if (runnerOptions.std === 'inherit') {
87 process.stdout.write(chunk.toString())
88 }
89 callback()
90 },
91 })
92
93 if (runnerOptions?.tty) {

Callers

nothing calls this directly

Calls 3

callbackFunction · 0.50
writeMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected