Skip to content

chore: add tests for currentIdentifierButton logic

Codecov / codecov/project succeeded Nov 15, 2024 in 1s

59.17% (+1.24%) compared to f172788

View this Pull Request on Codecov

59.17% (+1.24%) compared to f172788

Details

Codecov Report

Attention: Patch coverage is 64.91228% with 40 lines in your changes missing coverage. Please review.

Project coverage is 59.17%. Comparing base (f172788) to head (e633103).

Files with missing lines Patch % Lines
...react/src/theme/default/components/card/footer.tsx 16.66% 15 Missing ⚠️
...ault/components/card/current-identifier-button.tsx 74.07% 7 Missing ⚠️
...elements-react/src/components/form/form-helpers.ts 53.84% 6 Missing ⚠️
...ckages/elements-react/src/context/flow-context.tsx 20.00% 4 Missing ⚠️
...-react/src/theme/default/components/form/label.tsx 0.00% 4 Missing ⚠️
...elements-react/src/components/form/nodes/input.tsx 0.00% 3 Missing ⚠️
packages/elements-react/src/context/form-state.ts 96.42% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #281      +/-   ##
==========================================
+ Coverage   57.92%   59.17%   +1.24%     
==========================================
  Files          65       67       +2     
  Lines         820      916      +96     
  Branches      101      128      +27     
==========================================
+ Hits          475      542      +67     
- Misses        340      369      +29     
  Partials        5        5              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.