Skip to content

Convert QualityMetrics/Header.tsx to Functional Component and Header.test.js to RTL #2859

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Parship999
Copy link
Contributor

Which problem is this PR solving?

Description of the changes

  • Converted Header.tsx from a class component to a functional component
  • Replaced Enzyme tests with RTL in Header.test.js

Checklist

@Parship999 Parship999 requested a review from a team as a code owner June 3, 2025 08:55
@Parship999 Parship999 requested review from joe-elliott and removed request for a team June 3, 2025 08:55
Copy link

graphite-app bot commented Jun 3, 2025

How to use the Graphite Merge Queue

Add the label merge-queue to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

Copy link

codecov bot commented Jun 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.39%. Comparing base (dd65633) to head (3325ab2).
Report is 7 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2859   +/-   ##
=======================================
  Coverage   97.39%   97.39%           
=======================================
  Files         256      256           
  Lines        7975     7975           
  Branches     2084     2009   -75     
=======================================
  Hits         7767     7767           
  Misses        208      208           

☔ View full report in Codecov by Sentry.
📢 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.

1 participant