MCPcopy
hub / github.com/anomalyco/opencode / promise.test.ts

File promise.test.ts

packages/client/test/promise.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { expect, test } from "bun:test"
2import { isSessionNotFoundError, isUnauthorizedError, OpenCode } from "../src"
3
4test("exposes every standard HTTP API group", () => {

Callers

nothing calls this directly

Calls 15

isUnauthorizedErrorFunction · 0.90
isSessionNotFoundErrorFunction · 0.90
testFunction · 0.85
pushMethod · 0.80
activeMethod · 0.80
switchAgentMethod · 0.80
switchModelMethod · 0.80
compactMethod · 0.80
contextMethod · 0.80
atMethod · 0.80
interruptMethod · 0.80
jsonMethod · 0.65

Tested by

no test coverage detected