mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
### What? Pin the dependency versions used by the Material UI new-link-behavior fixture. ### Why? The fixture currently installs `latest`, which now resolves `@mui/material` to 9.0.1. That version causes an SWC source-map panic while compiling the fixture, so an unrelated link behavior test fails before reaching its assertion. ### How? Replace the floating dependency versions with the known-good Material UI 5.11.16, Emotion 11, and prop-types versions previously used by the fixture. ### Verification - `pnpm build-all` - `pnpm prettier --with-node-modules --ignore-path .prettierignore --write test/e2e/new-link-behavior/material-ui.test.ts` - `npx eslint --config eslint.config.mjs --fix test/e2e/new-link-behavior/material-ui.test.ts` - `NEXT_TEST_PREFER_OFFLINE=1 pnpm test-dev-webpack test/e2e/new-link-behavior/material-ui.test.ts` <!-- NEXT_JS_LLM_PR -->