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

Function write

packages/vitest/src/node/printError.ts:47–50  ·  view source on GitHub ↗
(chunk, _encoding, callback)

Source from the content-addressed store, hash-verified

45 let output = ''
46 const writable = new Writable({
47 write(chunk, _encoding, callback) {
48 output += String(chunk)
49 callback()
50 },
51 })
52 const console = new Console(writable)
53 const logger: ErrorLogger = {

Callers

nothing calls this directly

Calls 1

callbackFunction · 0.50

Tested by

no test coverage detected