Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/coder/mux
/ gatewayStreamNormalization.test.ts
File
gatewayStreamNormalization.test.ts
src/node/utils/gatewayStreamNormalization.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, expect, it } from
"bun:test"
;
2
import
{
3
isV3Usage,
4
flatUsageToV3,
Callers
nothing calls this directly
Calls
5
isV3Usage
Function · 0.90
flatUsageToV3
Function · 0.90
normalizeFinishReason
Function · 0.90
normalizeGatewayGenerateResult
Function · 0.90
collectStream
Function · 0.70
Tested by
no test coverage detected