MCPcopy Index your code
hub / github.com/anomalyco/opencode / openai-ws.test.ts

File openai-ws.test.ts

packages/opencode/test/plugin/openai-ws.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, test } from "bun:test"
2import { EventEmitter } from "node:events"
3import { createServer, type IncomingMessage, type Server as HttpServer } from "node:http"
4import net, { type AddressInfo, type Socket } from "node:net"

Callers

nothing calls this directly

Calls 15

testFunction · 0.85
createWebSocketServerFunction · 0.85
createHangingTcpServerFunction · 0.85
readTextErrorFunction · 0.85
createHttpServerFunction · 0.85
pushMethod · 0.80
onMethod · 0.80
fetchFunction · 0.70
streamRequestFunction · 0.70
waitForFunction · 0.70
textMethod · 0.65

Tested by

no test coverage detected