MCPcopy
hub / github.com/cloudflare/mcp-server-cloudflare / workers-oauth-utils.spec.ts

File workers-oauth-utils.spec.ts

packages/mcp-common/src/workers-oauth-utils.spec.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, it, vi } from 'vitest'
2
3import { OAuthError, parseRedirectApproval, validateOAuthState } from './workers-oauth-utils'
4

Callers

nothing calls this directly

Calls 8

parseRedirectApprovalFunction · 0.90
validateOAuthStateFunction · 0.90
createMockKVFunction · 0.85
toResponseMethod · 0.80
getMethod · 0.65
jsonMethod · 0.65
setMethod · 0.65
toStringMethod · 0.65

Tested by

no test coverage detected