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

File oauth.test.ts

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

Source from the content-addressed store, hash-verified

1import { promises as fs } from "node:fs";
2import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
3import { setupTempAuthEnv } from "./_test-utils.js";
4import { isAuthError } from "./errors.js";

Callers

nothing calls this directly

Calls 12

setupTempAuthEnvFunction · 0.85
resolveClientIdFunction · 0.85
parseTokenResponseFunction · 0.85
isAuthErrorFunction · 0.85
refreshTokensFunction · 0.85
readStoreFunction · 0.85
writeStoreFunction · 0.85
revokeTokensFunction · 0.85
tokenFetchFunction · 0.85
nowMethod · 0.80
getTimeMethod · 0.65

Tested by

no test coverage detected