Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ZingerLittleBee/ServerBee
/ makeMockWsSocket
Function
makeMockWsSocket
apps/web/vite/dev-proxy.test.ts:117–122 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
115
}
116
117
function
makeMockWsSocket(): MockWsSocket {
118
return
{
119
write: vi.fn<(chunk: string) => void>(),
120
destroy: vi.fn<() => void>()
121
}
122
}
123
124
const
baseOpts: DevProxyOptions = {
125
target:
'https://prod.example.com'
,
Callers
1
dev-proxy.test.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected