rsnext/test
Jiachi Liu 9313c51bc4
Ensure root layout only render once per request (#52589)
Introduce a new way to search for `not-found` component that based on
the request pathname and current loader tree of that route. And we
search the proper not-found in the finall catch closure of app
rendering, so that we don't have to pass down the root layout to
app-router to create the extra error boundary.

This ensures the root layout doesn't have duplicated rendering for
normal requests

Fixes NEXT-1220
Fixes #49115
2023-07-13 17:34:31 +02:00
..
.stats-app chore: remove experimental appDir: true from tests (#52291) 2023-07-05 19:17:29 -07:00
__mocks__ [edge] bump @edge-runtime/* package suite (#49092) 2023-05-31 08:03:20 +00:00
development chore: remove experimental appDir: true from tests (#52291) 2023-07-05 19:17:29 -07:00
e2e Ensure root layout only render once per request (#52589) 2023-07-13 17:34:31 +02:00
examples feat(cli): introduce --tailwind flag (#46927) 2023-03-16 16:06:27 +01:00
integration Remove unnecessary body-parser (#52580) 2023-07-12 23:11:20 +00:00
lib add incremental cache for node.js app rendering (#52172) 2023-07-07 11:33:51 +02:00
production fix(next/jest): jest can not load server-only code (#52393) 2023-07-12 08:51:29 +00:00
unit Fix NextRequest constructor parameters (#52001) 2023-06-29 22:50:53 +00:00
.gitignore ci(workflow): enable test trace upload (#51107) 2023-06-12 17:14:13 +00:00
jest-setup-after-env.ts type check tests (and convert next-test-utils.js to ts) (#51071) 2023-06-23 17:42:50 +00:00
jest.d.ts type check tests (and convert next-test-utils.js to ts) (#51071) 2023-06-23 17:42:50 +00:00
readme.md refactor: split up CONTRIBUTING.md (#40515) 2022-09-16 14:54:58 -07:00
test-file.txt

See Testing for more information on how you can run/write/debug tests for Next.js.