MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / client.test.ts

File client.test.ts

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

Source from the content-addressed store, hash-verified

1import { afterEach, beforeEach, describe, expect, it } from "vitest";
2import { AuthClient, apiBaseUrl, buildAuthHeaders } from "./client.js";
3import { isAuthError } from "./errors.js";
4import type { ResolvedCredential } from "./resolver.js";

Callers

nothing calls this directly

Calls 9

apiBaseUrlFunction · 0.85
buildAuthHeadersFunction · 0.85
apiKeyCredFunction · 0.85
makeClientFunction · 0.85
jsonFetchFunction · 0.85
textFetchFunction · 0.85
isAuthErrorFunction · 0.85
ErrRefreshFailedFunction · 0.85
getCurrentUserMethod · 0.45

Tested by

no test coverage detected