(format: string)
| 50 | } |
| 51 | |
| 52 | function callGet(format: string) { |
| 53 | const req = new NextRequest(`http://localhost:3000/api/table/tbl_1/export?format=${format}`, { |
| 54 | method: 'GET', |
| 55 | }) |
| 56 | return GET(req, { params: Promise.resolve({ tableId: 'tbl_1' }) }) |
| 57 | } |
| 58 | |
| 59 | describe('table export route — id→name translation', () => { |
| 60 | beforeEach(() => { |
no test coverage detected