1
0
mirror of synced 2025-12-30 03:01:36 -05:00
Files
docs/tests/routing/next.js
2022-09-22 15:55:30 -04:00

13 lines
323 B
JavaScript

import { describe, expect, jest, test } from '@jest/globals'
import { get } from '../helpers/e2etest.js'
describe('redirects', () => {
jest.setTimeout(60 * 1000)
test('any _next/image request should 404', async () => {
const res = await get('/_next/image?what=ever')
expect(res.statusCode).toBe(404)
})
})