Skip to content

chore: stop silencing defaultProps warnings fixed in Paragon 23.24.0 - #2289

Open
brian-smith-tcril wants to merge 1 commit into
openedx:masterfrom
brian-smith-tcril:drop-fixed-paragon-silences
Open

brian-smith-tcril wants to merge 1 commit into
openedx:masterfrom
brian-smith-tcril:drop-fixed-paragon-silences

Conversation

@brian-smith-tcril

Copy link
Copy Markdown
Contributor

Summary

src/setupTest.js silences the defaultProps warnings of the Paragon components this app renders, under openedx/paragon#3043. Paragon 23.24.0, locked on master since #2284, removed defaultProps from five of them. This drops those five names from the pattern, so the suite fails again if one of them starts warning. Test-setup change only.

What changed

Testing

Run on master at ed620369 (Paragon 23.24.0, react-bootstrap 1.6.8), Node 24.22.3. Master has since moved to 9b69394f; its lock resolves the same Paragon and react-bootstrap versions.

🤖 Generated with Claude Code

CollapsibleBody, CollapsibleTrigger, CollapsibleVisible,
FormControlDecorator and StatefulButton no longer declare defaultProps
as of Paragon 23.24.0, so the suite no longer needs to silence them.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@codecov

codecov Bot commented Dec 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.27%. Comparing base (9b69394) to head (577aa30).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2289   +/-   ##
=======================================
  Coverage   99.27%   99.27%           
=======================================
  Files         373      373           
  Lines        5505     5505           
  Branches     1465     1469    +4     
=======================================
  Hits         5465     5465           
  Misses         40       40           

☔ 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.

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.

2 participants