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