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

File httpapi-cors.test.ts

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

Source from the content-addressed store, hash-verified

1import { NodeHttpServer, NodeServices } from "@effect/platform-node"
2import { Flag } from "@opencode-ai/core/flag/flag"
3import { describe, expect } from "bun:test"
4import { Config, ConfigProvider, Effect, Layer } from "effect"

Callers

nothing calls this directly

Calls 8

resetDatabaseFunction · 0.90
testEffectFunction · 0.90
handlerFunction · 0.70
fetchFunction · 0.70
getMethod · 0.65
describeFunction · 0.50
layerMethod · 0.45
stopMethod · 0.45

Tested by

no test coverage detected