Skip to content
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

test(FluidSearchSkeleton): add test file for component #17826

Conversation

mariat189
Copy link
Contributor

Closes #17513

This PR adds unit tests for the FluidSearchSkeleton component to ensure its proper rendering and functionality. The tests verify that the skeleton displays with the correct classes, supports custom class names etc.

Changelog

Changed

  • Added Unit tests for FluidSearchSkeleton.

Testing / Reviewing

  • Run the test suite to ensure that all new tests pass.
  • Review the tests for clarity and coverage.

Additional Notes

Please let me know if any further modifications are needed or if you have any questions regarding the changes.

@mariat189 mariat189 requested a review from a team as a code owner October 22, 2024 07:01
Copy link
Contributor

github-actions bot commented Oct 22, 2024

All contributors have signed the DCO.
Posted by the DCO Assistant Lite bot.

Copy link

netlify bot commented Oct 22, 2024

Deploy Preview for v11-carbon-web-components ready!

Name Link
🔨 Latest commit b735929
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-web-components/deploys/671911747556ef0008b7dc1c
😎 Deploy Preview https://deploy-preview-17826--v11-carbon-web-components.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@mariat189
Copy link
Contributor Author

I have read the DCO document and I hereby sign the DCO.

Copy link

netlify bot commented Oct 22, 2024

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit b735929
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/6719117492f78400089751c5
😎 Deploy Preview https://deploy-preview-17826--carbon-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Oct 22, 2024

Deploy Preview for v11-carbon-react ready!

Name Link
🔨 Latest commit b735929
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/671911748c8e0a0008797ad5
😎 Deploy Preview https://deploy-preview-17826--v11-carbon-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Signed-off-by: Mariat Sebastian <mariatsebastian189@gmail.com>
@mariat189 mariat189 force-pushed the FluidSearchSkeleton-test-coverage branch from e8b0bb2 to 47760e3 Compare October 22, 2024 07:37
Copy link
Member

@alisonjoseph alisonjoseph left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

coverage is at 100% 👍

Copy link

codecov bot commented Oct 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.17%. Comparing base (98e15cc) to head (b735929).
Report is 10 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #17826      +/-   ##
==========================================
+ Coverage   80.14%   80.17%   +0.02%     
==========================================
  Files         406      406              
  Lines       14030    14030              
  Branches     4391     4343      -48     
==========================================
+ Hits        11245    11248       +3     
+ Misses       2618     2616       -2     
+ Partials      167      166       -1     

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

@alisonjoseph alisonjoseph added this pull request to the merge queue Oct 23, 2024
Merged via the queue into carbon-design-system:main with commit b3e348b Oct 23, 2024
26 of 27 checks passed
@carbon-automation
Copy link
Contributor

Hey there! v11.69.0 was just released that references this issue/PR.

irfadkp pushed a commit to irfadkp/carbon that referenced this pull request Oct 24, 2024
…-system#17826)

* test(FluidSearchSkeleton): add test file for component

* fix(FluidSearchSkeleton): corrected contributor file

Signed-off-by: Mariat Sebastian <mariatsebastian189@gmail.com>

---------

Signed-off-by: Mariat Sebastian <mariatsebastian189@gmail.com>
Co-authored-by: Alison Joseph <alison.joseph@us.ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Increase FluidSearch.Skeleton unit test coverage
3 participants