()
| 41 | import { POST } from '@/app/api/mothership/chats/read/route' |
| 42 | |
| 43 | function 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 | |
| 50 | describe('POST /api/mothership/chats/read', () => { |
| 51 | beforeEach(() => { |