mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
This was asserting that the error still exists after resetting the file back to its original state. Instead, it should refresh the browser and check that the error was fixed. Something was causing this to quickly reload in the rspack case, so the test was flaking there. ``` pnpm test-dev integration/server-side-dev-errors/test/index.test.js -t 'api route correctly' pnpm test-dev-turbopack integration/server-side-dev-errors/test/index.test.js -t 'api route correctly' pnpm test-dev-rspack integration/server-side-dev-errors/test/index.test.js -t 'api route correctly' ``` Try running the tests a few times, see that they don't flake.