next.js
2d8a09ed - test: enable HMR dependency acceptance coverage for webpack (#101196)

Commit
24 days ago
test: enable HMR dependency acceptance coverage for webpack (#101196) ## Summary Stacked on #101195. Enable all five HMR dependency accept/decline tests for both Webpack and Turbopack without bundler-specific gates. The ESM fixtures now register the equivalent `import.meta.webpackHot` calls alongside `import.meta.turbopackHot`; the CommonJS fixture already works with both bundlers. The `test/development/` directory already limits the suite to development mode, so no explicit development gate is needed. Strengthen the decline tests to verify that window state is cleared, distinguishing a full page reload from Fast Refresh. ## Verification - All five cases pass with both bundlers. - TypeScript, ESLint, and Prettier checks pass. <!-- NEXT_JS_LLM --> <!-- fleet 5ee3f00a-6703-434b-8167-e7fa79dee47e --> --------- Co-authored-by: vercel-fleet-prod[bot] <318278635+vercel-fleet-prod[bot]@users.noreply.github.com>
Author
Parents
Loading