Visitar URL original
Parity tests: compare with the released 0.2.0 by ivoIturrieta · Pull Request #64 · unlayer/elements · GitHub
Skip to content

Parity tests: compare with the released 0.2.0 - #64

Open
ivoIturrieta wants to merge 1 commit into
mainfrom
chore/previous-release-0.2.0
Open

ivoIturrieta wants to merge 1 commit into
mainfrom
chore/previous-release-0.2.0

Conversation

@ivoIturrieta

@ivoIturrieta ivoIturrieta commented Oct 13, 2026 •

Copy link
Copy Markdown
Collaborator

Moves the parity tests' previous release (@unlayer/react-elements-previous) from 0.1.22 to 0.2.0, as CLAUDE.md asks 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 the defaultProps pattern shows what React 19 shows (it no longer applies a function component's defaultProps). With the published packages on React 19.3, 3 of 36 patterns failed on those; all pass now. Nothing changes on React 18.

  • Regression tests: 397 pass against 0.2.0.
  • Test-only change: no package code changes, so nothing publishes.

🤖 Generated with Claude Code


📖 Storybook Preview: https://unlayer.github.io/elements/pr/64/

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

codecov Bot commented Oct 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.23%. Comparing base (3ac5f73) to head (b24c974).

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant