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: adding unit tests for ProgressIndicatorSkeleton #17829

Conversation

mariat189
Copy link
Contributor

Closes #17472

This PR adds unit tests for the ProgressIndicatorSkeleton component to ensure its proper rendering and functionality. The The tests ensure that the skeleton renders with the appropriate class names, accommodates custom class names etc.

Changelog

Changed

  • Added Unit test file for ProgressIndicatorSkeleton

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 13:32
@mariat189 mariat189 requested review from kennylam and guidari October 22, 2024 13:32
Copy link

netlify bot commented Oct 22, 2024

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

Name Link
🔨 Latest commit 52167f7
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-web-components/deploys/671beb79694a9c00082b18de
😎 Deploy Preview https://deploy-preview-17829--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.

Copy link

netlify bot commented Oct 22, 2024

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit 52167f7
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/671beb79b02ccb0008bf26c4
😎 Deploy Preview https://deploy-preview-17829--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!

Built without sensitive environment variables

Name Link
🔨 Latest commit 52167f7
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/671beb79940a6c0008d715cf
😎 Deploy Preview https://deploy-preview-17829--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.

Copy link

codecov bot commented Oct 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.49%. Comparing base (f4f3dfe) to head (52167f7).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #17829      +/-   ##
==========================================
+ Coverage   80.45%   80.49%   +0.04%     
==========================================
  Files         406      406              
  Lines       14041    14041              
  Branches     4347     4347              
==========================================
+ Hits        11296    11302       +6     
+ Misses       2579     2573       -6     
  Partials      166      166              

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

Copy link
Contributor

@guidari guidari left a comment

Choose a reason for hiding this comment

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

LGTM! 🚀
Thanks for doing that!

Copy link
Member

@kennylam kennylam left a comment

Choose a reason for hiding this comment

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

LGTM! Just need to resolve the conflicts.

@mariat189
Copy link
Contributor Author

mariat189 commented Oct 25, 2024

Hi @kennylam , @alisonjoseph
I have resolved the conflicts. Can you please recheck?

@mariat189
Copy link
Contributor Author

@kennylam , @guidari
Can you please recheck this pr?

@guidari guidari added this pull request to the merge queue Oct 28, 2024
Merged via the queue into carbon-design-system:main with commit 706c84a Oct 28, 2024
40 checks passed
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 ProgressIndicator.Skeleton unit test coverage
3 participants