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

Function createRequest

apps/sim/app/api/mothership/chats/route.test.ts:60–64  ·  view source on GitHub ↗
(workspaceId: string)

Source from the content-addressed store, hash-verified

58import { GET } from '@/app/api/mothership/chats/route'
59
60function createRequest(workspaceId: string) {
61 return new NextRequest(`http://localhost:3000/api/mothership/chats?workspaceId=${workspaceId}`, {
62 method: 'GET',
63 })
64}
65
66describe('GET /api/mothership/chats', () => {
67 beforeEach(() => {

Callers 1

route.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected