Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vitejs/vite
/ forwardConsole.spec.ts
File
forwardConsole.spec.ts
packages/vite/src/shared/__tests__/forwardConsole.spec.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ setTimeout } from
'node:timers/promises'
2
import
{ describe, expect, test, vi } from
'vitest'
3
import
{
4
formatConsoleArgs,
Callers
nothing calls this directly
Calls
6
test
Function · 0.90
formatConsoleArgs
Function · 0.90
setupForwardConsoleHandler
Function · 0.90
createMockTransport
Function · 0.85
createMockConsole
Function · 0.85
log
Method · 0.80
Tested by
no test coverage detected