From 785db4d63b7c31b478a5615f1c7c9fb292a64fef Mon Sep 17 00:00:00 2001 From: Douglas Duteil Date: Thu, 4 Jul 2024 16:57:13 +0200 Subject: [PATCH] test(hono): not found handled by sub --- src/hono.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hono.test.ts b/src/hono.test.ts index 705d0645..68fe37a8 100644 --- a/src/hono.test.ts +++ b/src/hono.test.ts @@ -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') }) }) })