MCPcopy Index your code
hub / github.com/anomalyco/opencode / oauth-callback.test.ts

File oauth-callback.test.ts

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

Source from the content-addressed store, hash-verified

1import { test, expect, describe, afterEach } from "bun:test"
2import { createConnection, createServer as createNetServer } from "net"
3import { McpOAuthCallback } from "../../src/mcp/oauth-callback"
4import { parseRedirectUri } from "../../src/mcp/oauth-provider"

Callers

nothing calls this directly

Calls 9

parseRedirectUriFunction · 0.90
testFunction · 0.85
getFreeLoopbackPortFunction · 0.85
canConnectFunction · 0.85
textMethod · 0.65
getMethod · 0.65
describeFunction · 0.50
fetchFunction · 0.50
stopMethod · 0.45

Tested by

no test coverage detected