mirror of
https://github.com/honojs/hono.git
synced 2024-11-24 19:26:56 +01:00
test(hono): not found handled by sub
This commit is contained in:
parent
7ba58664e7
commit
785db4d63b
@ -1958,7 +1958,7 @@ describe('Hono with `app.route`', () => {
|
||||
const res = await app.request('https://example.com/sub/implicit-404')
|
||||
expect(res.status).toBe(404)
|
||||
expect(res.headers.get('explicit')).toBe(null)
|
||||
expect(await res.text()).toBe('404 Not Found by app')
|
||||
expect(await res.text()).toBe('404 Not Found by sub')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user