MCPcopy Index your code
hub / github.com/anomalyco/opencode / lifecycle.test.ts

File lifecycle.test.ts

packages/opencode/test/mcp/lifecycle.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import path from "node:path"
2import { pathToFileURL } from "node:url"
3import { expect, mock, beforeEach } from "bun:test"
4import { ListRootsRequestSchema, ToolListChangedNotificationSchema } from "@modelcontextprotocol/sdk/types.js"

Callers

nothing calls this directly

Calls 15

testEffectFunction · 0.90
getOrCreateClientStateFunction · 0.85
statusNameFunction · 0.85
instanceMethod · 0.80
getPromptMethod · 0.80
readResourceMethod · 0.80
syncMethod · 0.80
addMethod · 0.65
getMethod · 0.65
handlerFunction · 0.50
clearMethod · 0.45
useMethod · 0.45

Tested by

no test coverage detected