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

File ws-auth.e2e.test.ts

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

Source from the content-addressed store, hash-verified

1/**
2 * WS upgrade auth (ROADMAP M3).
3 *
4 * M3.1 adds the `kimi-code.bearer.<token>` subprotocol parser; M3.2 wires it

Callers

nothing calls this directly

Calls 7

extractWsBearerTokenFunction · 0.90
spawnFunction · 0.70
openConnFunction · 0.70
wsUrlFunction · 0.70
receiveTypeFunction · 0.70
expectRejectedFunction · 0.70
closeMethod · 0.65

Tested by

no test coverage detected