diff --git a/lib/errors/index.test.ts b/lib/errors/index.test.ts index 8f83e711c..9c102b973 100644 --- a/lib/errors/index.test.ts +++ b/lib/errors/index.test.ts @@ -18,7 +18,7 @@ describe('httperror', () => { const response = await app.request('/test/httperror'); expect(response.status).toBe(503); const text = await response.text(); - expect(text).toContain('FetchError: [GET] "https://httpbingo.org/status/404": 404 Not Found'); + expect(text).toContain('FetchError: [GET] "https://httpbingo.org/status/404": 404'); }, 20000); });