Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
callback
Function · 0.50
write
Method · 0.45
toString
Method · 0.45
Tested by
no test coverage detected