test: generate snapshots per test case#20675
Conversation
|
7c6eac2 to
8276fa3
Compare
|
This PR is packaged and the instant preview is available (a475512). Install it locally:
npm i -D webpack@https://pkg.pr.new/webpack@a475512
yarn add -D webpack@https://pkg.pr.new/webpack@a475512
pnpm add -D webpack@https://pkg.pr.new/webpack@a475512 |
8276fa3 to
f4e6259
Compare
f4e6259 to
8ee1500
Compare
Merging this PR will improve performance by ×2.4
Performance Changes
Comparing |
ea57a11 to
c5a78c3
Compare
c5a78c3 to
4db6dff
Compare
We run |
|
@hai-x thanks for this refactor |
Summary
What kind of change does this PR introduce?
Refactor
ConfigCasesto generate snapshots per test case instead of a single file to improve DX (i.e. making diffs easier to review and reducing merge conflicts). Also we can update snapshot by case name now, e.g.Other test cases will follow in the next PR.
Did you add tests for your changes?
No
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?
No
Use of AI
Partial