MCPcopy Create free account
hub / github.com/simstudioai/sim / params

Function params

apps/sim/app/api/files/public/[token]/route.test.ts:38–38  ·  view source on GitHub ↗
(token = 'tok_1')

Source from the content-addressed store, hash-verified

36import { GET, POST } from '@/app/api/files/public/[token]/route'
37
38const params = (token = 'tok_1') => ({ params: Promise.resolve({ token }) })
39const request = (token = 'tok_1') => new NextRequest(`http://localhost/api/files/public/${token}`)
40const postRequest = (password: string, token = 'tok_1') =>
41 new NextRequest(`http://localhost/api/files/public/${token}`, {

Callers 1

route.test.tsFile · 0.70

Calls 1

resolveMethod · 0.65

Tested by

no test coverage detected