test: add comprehensive test case for #21085#21105
Conversation
|
|
This PR is packaged and the instant preview is available (3aba7a9). Install it locally:
npm i -D webpack@https://pkg.pr.new/webpack@3aba7a9
yarn add -D webpack@https://pkg.pr.new/webpack@3aba7a9
pnpm add -D webpack@https://pkg.pr.new/webpack@3aba7a9 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #21105 +/- ##
==========================================
- Coverage 91.97% 91.96% -0.01%
==========================================
Files 581 581
Lines 61212 61212
Branches 16695 16695
==========================================
- Hits 56298 56294 -4
- Misses 4914 4918 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Merging this PR will degrade performance by 53.41%
|
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ❌ | Memory | benchmark "asset-modules-inline", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}' |
220.8 KB | 1,228.9 KB | -82.03% |
| ❌ | Memory | benchmark "many-modules-esm", scenario '{"name":"mode-production","mode":"production"}' |
7.4 MB | 10.2 MB | -27.44% |
| ❌ | Memory | benchmark "future-defaults", scenario '{"name":"mode-production","mode":"production"}' |
7.3 MB | 9.5 MB | -22.47% |
Tip
Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.
Comparing test-21085 (152499a) with main (437a4c2)
Summary
What kind of change does this PR introduce?
Add test case.
Did you add tests for your changes?
Yes
Does this PR introduce a breaking change?
No
If relevant, what needs to be documented once your changes are merged or what have you already documented?
Use of AI
Partial, for better code understanding.