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

File httpapi-instance-context.test.ts

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

Source from the content-addressed store, hash-verified

1import { NodeHttpServer, NodeServices } from "@effect/platform-node"
2import { describe, expect } from "bun:test"
3import { Effect, Fiber, Layer, Schema } from "effect"
4import { HttpClient, HttpClientRequest, HttpRouter } from "effect/unstable/http"

Callers

nothing calls this directly

Calls 15

resetDatabaseFunction · 0.90
disposeAllInstancesFunction · 0.90
testEffectFunction · 0.90
markInstanceForDisposalFunction · 0.90
waitGlobalBusEventFunction · 0.90
tmpdirScopedFunction · 0.90
withFixedWorkspaceIDFunction · 0.90
serveProbeFunction · 0.85
serveDisposeProbeFunction · 0.85
createLocalWorkspaceFunction · 0.70
addMethod · 0.65

Tested by

no test coverage detected