Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/simstudioai/sim
/ route-helpers.test.ts
File
route-helpers.test.ts
apps/sim/lib/core/rate-limiter/route-helpers.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/**
2
* @vitest-environment node
3
*/
4
import
{ createMockRequest, requestUtilsMockFns } from
'@sim/testing'
Callers
nothing calls this directly
Calls
6
enforceUserRateLimit
Function · 0.90
createMockRequest
Function · 0.90
enforceIpRateLimit
Function · 0.90
enforceUserOrIpRateLimit
Function · 0.90
passThroughClientIp
Function · 0.85
get
Method · 0.65
Tested by
no test coverage detected