MCPcopy 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 */
4import { createMockRequest, requestUtilsMockFns } from '@sim/testing'

Callers

nothing calls this directly

Calls 6

enforceUserRateLimitFunction · 0.90
createMockRequestFunction · 0.90
enforceIpRateLimitFunction · 0.90
enforceUserOrIpRateLimitFunction · 0.90
passThroughClientIpFunction · 0.85
getMethod · 0.65

Tested by

no test coverage detected