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

Function write

packages/vitest/src/node/reporters/base.ts:458–458  ·  view source on GitHub ↗
(msg: string)

Source from the content-addressed store, hash-verified

456 : this.ctx.logger.errorStream
457
458 const write = (msg: string) => (output as any).write(msg)
459
460 let headerText = 'unknown test'
461 const task = log.taskId ? this.ctx.state.idMap.get(log.taskId) : undefined

Callers 1

onUserConsoleLogFunction · 0.70

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected