MCPcopy Index your code
hub / github.com/anomalyco/opencode / httpapi-sdk.test.ts

File httpapi-sdk.test.ts

packages/opencode/test/server/httpapi-sdk.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { afterEach, describe, expect } from "bun:test"
2import { ConfigV1 } from "@opencode-ai/core/v1/config/config"
3import { SessionV1 } from "@opencode-ai/core/v1/session"
4import { Deferred, Effect, Layer } from "effect"

Callers

nothing calls this directly

Calls 15

testEffectFunction · 0.90
disposeAllInstancesFunction · 0.90
resetDatabaseFunction · 0.90
pollWithTimeoutFunction · 0.90
validateSessionFunction · 0.90
errorMessageFunction · 0.90
awaitWithTimeoutFunction · 0.90
httpapiFunction · 0.85
firstEventFunction · 0.85
expectStatusFunction · 0.85
httpapiInstanceFunction · 0.85
serverPathParityFunction · 0.85

Tested by

no test coverage detected