Repository navigation
Parity tests: compare with the released 0.2.0 - #64
Open
ivoIturrieta wants to merge 1 commit into
Open
ivoIturrieta wants to merge 1 commit into
ivoIturrieta wants to merge 1 commit into
Conversation
The parity tests now compare this build with 0.2.0, the release, as CLAUDE.md asks after each one: a change that differs from it fails until it's reviewed. The template patterns also run on React 19.2 and later: they read its `useId()` values (`_R_1_`), and a function component's `defaultProps`, which React 19 no longer applies, show as React shows them. On React 19.3 with the published packages, 3 of the 36 patterns failed on those two and all pass now; on React 18 nothing changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #64 +/- ##
==========================================
- Coverage 96.55% 96.23% -0.33%
==========================================
Files 40 40
Lines 2787 2787
Branches 795 790 -5
==========================================
- Hits 2691 2682 -9
- Misses 95 104 +9
Partials 1 1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves the parity tests' previous release (
@unlayer/react-elements-previous) from 0.1.22 to 0.2.0, asCLAUDE.mdasks after each release, so a change that renders differently from 0.2.0 fails until it's reviewed.Also makes the template patterns run on React 19.2 and later: they now read its
useId()format (_R_1_), and thedefaultPropspattern shows what React 19 shows (it no longer applies a function component'sdefaultProps). With the published packages on React 19.3, 3 of 36 patterns failed on those; all pass now. Nothing changes on React 18.🤖 Generated with Claude Code
📖 Storybook Preview: https://unlayer.github.io/elements/pr/64/