MCPcopy Index your code
hub / github.com/simstudioai/sim / createRequest

Function createRequest

apps/sim/app/api/mothership/chats/read/route.test.ts:43–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41import { POST } from '@/app/api/mothership/chats/read/route'
42
43function createRequest() {
44 return new NextRequest('http://localhost:3000/api/mothership/chats/read', {
45 method: 'POST',
46 body: JSON.stringify({ chatId: 'chat-1' }),
47 })
48}
49
50describe('POST /api/mothership/chats/read', () => {
51 beforeEach(() => {

Callers 1

route.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected