Commit 569e7aca authored by Matthew Sweeney's avatar Matthew Sweeney Committed by Joe Haddad

Improve Stalled Requests Grammar (#10283)

parent 799bb425
...@@ -59,7 +59,7 @@ export async function apiResolver( ...@@ -59,7 +59,7 @@ export async function apiResolver(
if (process.env.NODE_ENV !== 'production' && !isResSent(res)) { if (process.env.NODE_ENV !== 'production' && !isResSent(res)) {
console.warn( 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) { } catch (err) {
......
...@@ -344,7 +344,7 @@ function runTests(dev = false) { ...@@ -344,7 +344,7 @@ function runTests(dev = false) {
signal: controller.signal, signal: controller.signal,
}).catch(() => {}) }).catch(() => {})
expect(stderr).toContain( 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 { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment