MCPcopy Create free account
hub / github.com/modelcontextprotocol/inspector / auth.test.ts

File auth.test.ts

client/src/lib/__tests__/auth.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { discoverScopes } from "../auth";
2import { discoverAuthorizationServerMetadata } from "@modelcontextprotocol/sdk/client/auth.js";
3
4jest.mock("@modelcontextprotocol/sdk/client/auth.js", () => ({

Callers

nothing calls this directly

Calls 1

discoverScopesFunction · 0.90

Tested by

no test coverage detected