diff --git a/packages/next/next-server/server/api-utils.ts b/packages/next/next-server/server/api-utils.ts index 4fc51fec4cb6d0d..33c6d45f4ce73d4 100644 --- a/packages/next/next-server/server/api-utils.ts +++ b/packages/next/next-server/server/api-utils.ts @@ -59,7 +59,7 @@ export async function apiResolver( if (process.env.NODE_ENV !== 'production' && !isResSent(res)) { console.warn( - `API resolved without sending a response for ${req.url}, this may result in a stalled requests.` + `API resolved without sending a response for ${req.url}, this may result in stalled requests.` ) } } catch (err) { diff --git a/test/integration/api-support/test/index.test.js b/test/integration/api-support/test/index.test.js index 5fb522dd3019e81..a803bbdaceb261b 100644 --- a/test/integration/api-support/test/index.test.js +++ b/test/integration/api-support/test/index.test.js @@ -344,7 +344,7 @@ function runTests(dev = false) { signal: controller.signal, }).catch(() => {}) expect(stderr).toContain( - `API resolved without sending a response for /api/test-no-end, this may result in a stalled requests` + `API resolved without sending a response for /api/test-no-end, this may result in stalled requests.` ) }) } else {