next.js
c910be03 - Use snapshots to verify error stack traces for dynamic validation errors (#80946)

Commit
273 days ago
Use snapshots to verify error stack traces for dynamic validation errors (#80946) For now, this is just documenting the current state of affairs with regards to how we print dynamic validation errors during prerendering. Previously, the tests were run with and without `experimental.serverMinification`. Now, we're running them with and without the `--debug-prerender` CLI flag instead. In follow-ups, we will add assertions for `next dev`, and also improve the errors for `next build`. > [!NOTE] > This PR is best reviewed with hidden whitespace changes.
Author
Parents
Loading