Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ericc-ch/copilot-api
/ anthropic-response.test.ts
File
anthropic-response.test.ts
tests/anthropic-response.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, test, expect } from
"bun:test"
2
import
{ z } from
"zod"
3
4
import
type
{
Callers
nothing calls this directly
Calls
4
translateToAnthropic
Function · 0.90
translateChunkToAnthropicEvents
Function · 0.90
isValidAnthropicResponse
Function · 0.85
isValidAnthropicStreamEvent
Function · 0.85
Tested by
no test coverage detected