MCPcopy Create free account
hub / github.com/anomalyco/opencode / tool.test.ts

File tool.test.ts

packages/opencode/test/acp/tool.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { resolve } from "path"
2import { describe, expect, test } from "bun:test"
3import {
4 completedToolContent,

Callers

nothing calls this directly

Calls 13

toToolKindFunction · 0.90
toLocationsFunction · 0.90
completedToolContentFunction · 0.90
pendingToolCallFunction · 0.90
completedToolUpdateFunction · 0.90
completedToolRawOutputFunction · 0.90
extractImageAttachmentsFunction · 0.90
imageContentsFunction · 0.90
shellOutputSnapshotFunction · 0.90
testFunction · 0.85
describeFunction · 0.50
resolveFunction · 0.50

Tested by

no test coverage detected