MCPcopy Create free account
hub / github.com/anomalyco/opencode / reset

Function reset

packages/core/test/tool-webfetch.test.ts:51–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49const live = testEffect(toolLayer())
50
51const reset = () => {
52 requests.length = 0
53 assertions.length = 0
54 respond = () => Effect.succeed(new Response("hello", { headers: { "content-type": "text/plain" } }))
55}
56
57const call = (input: typeof WebFetchTool.Input.Type, id = "call-webfetch") => ({
58 sessionID,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected