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: increase test coverage to 100% for Tag #17614

Merged

Conversation

2nikhiltom
Copy link
Contributor

@2nikhiltom 2nikhiltom commented Sep 30, 2024

Closes #17503

Increase test coverage to 100% for Tag component

Changelog

Added new test cases

Testing / Reviewing

Test coverage should increase
Verify that test makes sense

@2nikhiltom 2nikhiltom requested a review from a team as a code owner September 30, 2024 17:50
Copy link

netlify bot commented Sep 30, 2024

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit f509ee0
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/66fae4ddf7814200085d3d7b
😎 Deploy Preview https://deploy-preview-17614--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 Sep 30, 2024

Deploy Preview for v11-carbon-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit f509ee0
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/66fae4dde5a103000851cd0c
😎 Deploy Preview https://deploy-preview-17614--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

netlify bot commented Sep 30, 2024

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit df65e1e
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/67061ff2dd4be40008f63802
😎 Deploy Preview https://deploy-preview-17614--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 Sep 30, 2024

Deploy Preview for v11-carbon-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit df65e1e
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/67061ff282ff1000087735cb
😎 Deploy Preview https://deploy-preview-17614--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 Sep 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.26%. Comparing base (72617dd) to head (df65e1e).
Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #17614      +/-   ##
==========================================
+ Coverage   77.19%   77.26%   +0.06%     
==========================================
  Files         409      409              
  Lines       14025    14025              
  Branches     4355     4355              
==========================================
+ Hits        10827    10836       +9     
+ Misses       3029     3019      -10     
- Partials      169      170       +1     

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

Copy link
Member

@emyarod emyarod left a comment

Choose a reason for hiding this comment

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

looks good to me!

@2nikhiltom 2nikhiltom requested review from kennylam and emyarod October 2, 2024 18:06
Copy link
Member

@emyarod emyarod left a comment

Choose a reason for hiding this comment

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

looks good to me!

@alisonjoseph alisonjoseph added this pull request to the merge queue Oct 9, 2024
Merged via the queue into carbon-design-system:main with commit b44a218 Oct 9, 2024
36 checks passed
annawen1 pushed a commit to annawen1/carbon that referenced this pull request Oct 11, 2024
)

* test: increase test coverage to 100% for Tag

* refactor: spyOn updated

* refactor: removed unused import

---------

Co-authored-by: Preeti Bansal <[email protected]>
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 Tag unit test coverage
5 participants