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

chore: Update ui/TokenWrapper tests to vitest #3229

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

Conversation

nicholas-codecov
Copy link
Contributor

Description

This PR updates the tests within the ui/TokenWrapper to Vitest as well as a sneaky TS refactor.

I've also had to set the icon label in the CopyClipboard component.

@codecov-staging
Copy link

Bundle Report

Changes will increase total bundle size by 376 bytes ⬆️

Bundle name Size Change
gazebo-staging-array-push 6.0MB 376 bytes ⬆️

Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.06%. Comparing base (e82ef28) to head (c18905a).

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3229   +/-   ##
=======================================
  Coverage   99.06%   99.06%           
=======================================
  Files         798      798           
  Lines       13966    13969    +3     
  Branches     3958     3933   -25     
=======================================
+ Hits        13836    13839    +3     
  Misses        122      122           
  Partials        8        8           
Files Coverage Δ
src/ui/CopyClipboard/CopyClipboard.tsx 100.00% <ø> (ø)
src/ui/TokenWrapper/TokenWrapper.tsx 100.00% <100.00%> (ø)
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 98.51% <ø> (ø)
Pages 98.89% <ø> (ø)
Services 99.41% <ø> (ø)
Shared 99.58% <ø> (ø)
UI 99.18% <100.00%> (+<0.01%) ⬆️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e82ef28...c18905a. Read the comment docs.

@codecov-notifications
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3229   +/-   ##
=======================================
  Coverage   99.06%   99.06%           
=======================================
  Files         798      798           
  Lines       13966    13969    +3     
  Branches     3879     3881    +2     
=======================================
+ Hits        13836    13839    +3     
  Misses        122      122           
  Partials        8        8           
Files Coverage Δ
src/ui/CopyClipboard/CopyClipboard.tsx 100.00% <ø> (ø)
src/ui/TokenWrapper/TokenWrapper.tsx 100.00% <100.00%> (ø)
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 98.51% <ø> (ø)
Pages 98.89% <ø> (ø)
Services 99.41% <ø> (ø)
Shared 99.58% <ø> (ø)
UI 99.18% <100.00%> (+<0.01%) ⬆️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e82ef28...c18905a. Read the comment docs.

@codecov-qa
Copy link

codecov-qa bot commented Sep 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.06%. Comparing base (e82ef28) to head (c18905a).

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3229   +/-   ##
=======================================
  Coverage   99.06%   99.06%           
=======================================
  Files         798      798           
  Lines       13966    13969    +3     
  Branches     3879     3959   +80     
=======================================
+ Hits        13836    13839    +3     
  Misses        122      122           
  Partials        8        8           
Files with missing lines Coverage Δ
src/ui/CopyClipboard/CopyClipboard.tsx 100.00% <ø> (ø)
src/ui/TokenWrapper/TokenWrapper.tsx 100.00% <100.00%> (ø)
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 98.51% <ø> (ø)
Pages 98.89% <ø> (ø)
Services 99.41% <ø> (ø)
Shared 99.58% <ø> (ø)
UI 99.18% <100.00%> (+<0.01%) ⬆️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e82ef28...c18905a. Read the comment docs.

@codecov-releaser
Copy link
Contributor

✅ Deploy preview for gazebo ready!

Previews expire after 1 month automatically.

Storybook

Commit Created Cloud Enterprise
c18905a Fri, 20 Sep 2024 18:45:05 GMT Cloud Enterprise

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants