rsnext/test/e2e/app-dir/global-error/catch-all
Jiachi Liu 98b99e408b
Fix global-error for nested routes (#60539)
## What

This fixes when the deep nested routes throws a client side error, it
can still be caught by the `global-error.js`

## How

We should always resolve global-error from root app directory instead of
current route's layout. Also fixed a bad test before where the
gloabl-error.js is not located correctly


Fixes #53756
Closes NEXT-1760
2024-01-11 23:28:17 +01:00
..
app Fix global-error for nested routes (#60539) 2024-01-11 23:28:17 +01:00
index.test.ts Fix next internal is missing in flight manifest (#59085) 2023-11-30 16:36:14 +01:00