Unverified Commit 627a5ffb authored by Josh Story's avatar Josh Story Committed by GitHub

fixes error message asserts and lints (#71747)

parent c464672d
......@@ -28,7 +28,7 @@ describe(`Dynamic IO Prospective Fallback`, () => {
}
expect(next.cliOutput).toContain(
'In Route "/blog/[slug]" this component accessed data without a fallback UI available somewhere above it using Suspense.'
'In Route "/blog/[slug]" this component accessed data without a Suspense boundary above it to provide a fallback UI.'
)
})
......@@ -46,7 +46,7 @@ describe(`Dynamic IO Prospective Fallback`, () => {
await next.start()
expect(next.cliOutput).not.toContain(
'In Route "/blog/[slug]" this component accessed data without a fallback UI available somewhere above it using Suspense.'
'In Route "/blog/[slug]" this component accessed data without a Suspense boundary above it to provide a fallback UI.'
)
})
}
......
......@@ -322,7 +322,7 @@ function runTests(options: { withMinification: boolean }) {
const expectError = createExpectError(next.cliOutput)
expectError(
'In Route "/" this component accessed data without a fallback UI available somewhere above it using Suspense.',
'In Route "/" this component accessed data without a Suspense boundary above it to provide a fallback UI.',
// Turbopack doesn't support disabling minification yet
withMinification || isTurbopack ? undefined : 'IndirectionTwo'
)
......@@ -331,7 +331,7 @@ function runTests(options: { withMinification: boolean }) {
// one task actually reports and error at the moment. We should fix upstream but for now we exclude the second error when PPR is off
// because we are using canary React and renderToReadableStream rather than experimental React and prerender
expectError(
'In Route "/" this component accessed data without a fallback UI available somewhere above it using Suspense.',
'In Route "/" this component accessed data without a Suspense boundary above it to provide a fallback UI.',
// Turbopack doesn't support disabling minification yet
withMinification || isTurbopack ? undefined : 'IndirectionThree'
)
......
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