Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonshotAI/kimi-code
/ origin.test.ts
File
origin.test.ts
packages/server/test/origin.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/**
2
* Origin / CORS middleware (ROADMAP M4.2).
3
*
4
* Pure unit cases
for
`originHost` / `isOriginAllowed` / `parseCorsOrigins`,
Callers
nothing calls this directly
Calls
8
originHost
Function · 0.90
isOriginAllowed
Function · 0.90
parseCorsOrigins
Function · 0.90
createOriginHook
Function · 0.90
inject
Method · 0.80
get
Method · 0.65
ready
Method · 0.65
close
Method · 0.65
Tested by
no test coverage detected