MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / auth-middleware.e2e.test.ts

File auth-middleware.e2e.test.ts

packages/server/test/auth-middleware.e2e.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { request as httpRequest } from 'node:http';
2
3import Fastify, { type FastifyInstance } from 'fastify';
4import { afterEach, beforeEach, describe, expect, it } from 'vitest';

Callers

nothing calls this directly

Calls 12

createAuthHookFunction · 0.90
closeAllFunction · 0.90
bootFunction · 0.90
rawGetFunction · 0.85
injectMethod · 0.80
jsonMethod · 0.80
fixedImplFunction · 0.70
getMethod · 0.65
sendMethod · 0.65
codeMethod · 0.65
readyMethod · 0.65
closeMethod · 0.65

Tested by

no test coverage detected