MCPcopy Index your code
hub / github.com/anomalyco/opencode / wrap

Function wrap

packages/opencode/test/session/retry.test.ts:31–33  ·  view source on GitHub ↗
(message: unknown)

Source from the content-addressed store, hash-verified

29}
30
31function wrap(message: unknown): ReturnType<NamedError["toObject"]> {
32 return { name: "", data: { message } }
33}
34
35describe("session.retry.delay", () => {
36 test("caps delay at 30 seconds when headers missing", () => {

Callers 1

retry.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected