MCPcopy Create free account
hub / github.com/codeaashu/claude-code / auth.test.ts

File auth.test.ts

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

Source from the content-addressed store, hash-verified

1import assert from "node:assert/strict";
2import { describe, it, afterEach } from "node:test";
3import type { IncomingMessage } from "node:http";
4import { ConnectionRateLimiter, validateAuthToken } from "../auth.js";

Callers

nothing calls this directly

Calls 4

validateAuthTokenFunction · 0.85
mockReqFunction · 0.85
allowMethod · 0.45
cleanupMethod · 0.45

Tested by

no test coverage detected