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(web-components): add vitest local coverage reports #6726

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

matthewgallo
Copy link
Member

Closes #6712

Adds local coverage reports that can be generated to inspect coverage for the web component package.

What did you change?

packages/ibm-products-web-components/package.json
packages/ibm-products-web-components/src/components/side-panel/side-panel.test.ts
packages/ibm-products-web-components/vite.config.ts
package.json
yarn.lock

How did you test and verify your work?

Ran yarn coverage from `packages/

@matthewgallo matthewgallo requested a review from a team as a code owner January 17, 2025 14:25
@matthewgallo matthewgallo requested review from makafsal and amal-k-joy and removed request for a team January 17, 2025 14:25
Copy link

netlify bot commented Jan 17, 2025

Deploy Preview for ibm-products-web-components ready!

Name Link
🔨 Latest commit 82fe69a
🔍 Latest deploy log https://app.netlify.com/sites/ibm-products-web-components/deploys/6792a17a1944a600089ff05e
😎 Deploy Preview https://deploy-preview-6726--ibm-products-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 Jan 17, 2025

Deploy Preview for carbon-for-ibm-products ready!

Name Link
🔨 Latest commit 82fe69a
🔍 Latest deploy log https://app.netlify.com/sites/carbon-for-ibm-products/deploys/6792a17adb15b2000845493e
😎 Deploy Preview https://deploy-preview-6726--carbon-for-ibm-products.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.

amal-k-joy
amal-k-joy previously approved these changes Jan 21, 2025
Copy link
Contributor

@amal-k-joy amal-k-joy left a comment

Choose a reason for hiding this comment

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

LGTM

davidmenendez
davidmenendez previously approved these changes Jan 23, 2025
@matthewgallo matthewgallo dismissed stale reviews from davidmenendez and amal-k-joy via 5867695 January 23, 2025 19:32
Copy link

codecov bot commented Jan 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.19%. Comparing base (8b03122) to head (82fe69a).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6726      +/-   ##
==========================================
+ Coverage   81.17%   81.19%   +0.02%     
==========================================
  Files         398      398              
  Lines       12955    12955              
  Branches     4282     4282              
==========================================
+ Hits        10516    10519       +3     
+ Misses       2439     2436       -3     
Components Coverage Δ
ibm-products ∅ <ø> (∅)
ibm-products-web-components ∅ <ø> (∅)

Copy link
Contributor

@davidmenendez davidmenendez left a comment

Choose a reason for hiding this comment

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

woot

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.

Setup local coverage reports with vitest for web components
3 participants