From 0d0fb4216f3575837cc708661bbc229a3f6c6991 Mon Sep 17 00:00:00 2001 From: msweeneydev Date: Mon, 27 Jan 2020 12:56:24 +0000 Subject: [PATCH] improve stalled requests grammar --- packages/next/next-server/server/api-utils.ts | 2 +- test/integration/api-support/test/index.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/next/next-server/server/api-utils.ts b/packages/next/next-server/server/api-utils.ts index 4fc51fec4cb6d..33c6d45f4ce73 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 5fb522dd3019e..a803bbdaceb26 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 {