()
| 17 | const appDir = join(__dirname, '../') |
| 18 | |
| 19 | function runTests() { |
| 20 | it('should enable reading local files in api routes', async () => { |
| 21 | const res = await fetchViaHTTP(appPort, '/api/test', null, {}) |
| 22 | expect(res.status).toEqual(200) |
| 23 | const content = await res.json() |
| 24 | expect(content).toHaveProperty('message', 'hello world') |
| 25 | }) |
| 26 | } |
| 27 | |
| 28 | describe('serverside asset modules', () => { |
| 29 | ;(process.env.TURBOPACK_BUILD ? describe.skip : describe)( |
no test coverage detected