rsnext/test/development/acceptance
Hannes Bornö 9a41ba9ac4
Improve RSC compiler error in external module (#46953)
When the RSC compiler error was caused by an external package, make the
error message display which import caused the error. Also don't show
node_module files in the import trace.

Continuation of https://github.com/vercel/next.js/pull/45484

Before

![image](https://user-images.githubusercontent.com/25056922/224032476-6811a1d5-d690-48be-9602-781f459edc70.png)

After

![image](https://user-images.githubusercontent.com/25056922/224032177-2d0b2977-098f-46bd-8e30-9e6bc21b9153.png)

Updates the format of the files, from `app/page.js` to `./app/page.js`
to align it with other import traces.

![image](https://user-images.githubusercontent.com/25056922/224030420-1d3ff0ba-5747-4ed3-8b0b-9c4deace54ea.png)


Closes NEXT-523
2023-03-09 12:27:57 -08:00
..
__snapshots__ Move error overlay recovery tests to new file (#46965) 2023-03-09 12:15:30 -08:00
component-stack.test.ts Port error overlay hydration error to pages directory (#46677) 2023-03-06 19:40:25 -08:00
error-recovery.test.ts Move error overlay recovery tests to new file (#46965) 2023-03-09 12:15:30 -08:00
helpers.ts Port error overlay hydration error to pages directory (#46677) 2023-03-06 19:40:25 -08:00
hydration-error.test.ts Port error overlay hydration error to pages directory (#46677) 2023-03-06 19:40:25 -08:00
ReactRefresh.test.ts Update test set-up to leverage playwright when able to (#28634) 2021-09-13 14:36:25 +02:00
ReactRefreshLogBox-app-doc.test.ts Update some flakey acceptance tests (#44984) 2023-01-17 13:14:43 -08:00
ReactRefreshLogBox-builtins.test.ts test(snapshot): allow snapshot test not invalidate with --turbo (#43545) 2023-01-13 12:02:44 -08:00
ReactRefreshLogBox-scss.test.ts Update some flakey acceptance tests (#44984) 2023-01-17 13:14:43 -08:00
ReactRefreshLogBox.test.ts Move error overlay recovery tests to new file (#46965) 2023-03-09 12:15:30 -08:00
ReactRefreshLogBoxMisc.test.ts Update some flakey acceptance tests (#44984) 2023-01-17 13:14:43 -08:00
ReactRefreshModule.test.ts Update some flakey acceptance tests (#44984) 2023-01-17 13:14:43 -08:00
ReactRefreshRegression.test.ts Update some flakey acceptance tests (#44984) 2023-01-17 13:14:43 -08:00
ReactRefreshRequire.test.ts Update test set-up to leverage playwright when able to (#28634) 2021-09-13 14:36:25 +02:00
server-component-compiler-errors-in-pages.test.ts Improve RSC compiler error in external module (#46953) 2023-03-09 12:27:57 -08:00