fix(e2e ssg): state char count can change a little#8556
Conversation
|
There was a problem hiding this comment.
Pull request overview
Updates the SSG snapshot E2E test to ignore the _dumpState() trailing character-count line so that small state-size fluctuations don’t fail the snapshot comparison.
Changes:
- Strip the
(<n> chars)line from the normalized state dump in the E2E test. - Update the checked-in expected state snapshot to remove the previously included char-count line.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| e2e/qwik-e2e/tests/qwikrouter/ssg-snapshot.e2e.ts | Normalizes _dumpState() output by removing the trailing (<n> chars) line before snapshot comparison. |
| e2e/qwik-e2e/apps/qwikrouter-ssg-snapshot/expected.state.txt | Removes the trailing char-count line to match the new normalization behavior. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.