MCPcopy
hub / github.com/anomalyco/opencode / header-timeout.test.ts

File header-timeout.test.ts

packages/opencode/test/provider/header-timeout.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { afterEach, expect } from "bun:test"
2import { createServer, type Server } from "node:http"
3import { streamText } from "ai"
4import { LayerNode } from "@opencode-ai/core/effect/layer-node"

Callers

nothing calls this directly

Calls 11

disposeAllInstancesFunction · 0.90
testEffectFunction · 0.90
provideTmpdirInstanceFunction · 0.90
delayedBodyServerFunction · 0.85
delayedHeaderServerFunction · 0.85
withAuthContentFunction · 0.85
syncMethod · 0.80
pushMethod · 0.80
providerConfigFunction · 0.70
closeMethod · 0.45
makeMethod · 0.45

Tested by

no test coverage detected