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 layouts/Header tests to Vitest #3211

Merged
merged 54 commits into from
Sep 19, 2024

Conversation

nicholas-codecov
Copy link
Contributor

Description

This PR updates the tests in layouts/Header to Vitest

Requires #3201

Notable Changes

  • Update AdminLink
  • Update GuestHeader
  • Update HelpDropdown
  • Update MyContextSwitcher
  • Update Navigator
  • Update SeatDetails
  • Update ThemeToggle
  • Update UserDropdown
  • Update Header

Copy link

codecov bot commented Sep 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.07%. Comparing base (9d66eb1) to head (d064eb2).
Report is 5 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@               Coverage Diff                @@
##               main      #3211        +/-   ##
================================================
- Coverage   99.10000   99.07000   -0.03000     
================================================
  Files           799        799                
  Lines         13975      13975                
  Branches       3965       3960         -5     
================================================
- Hits          13850      13846         -4     
- Misses          117        120         +3     
- Partials          8          9         +1     
Files with missing lines Coverage Δ
...outs/Header/components/ThemeToggle/ThemeToggle.tsx 92.30% <100.00%> (-7.70%) ⬇️

... and 2 files with indirect coverage changes

Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 98.84% <100.00%> (-1.16%) ⬇️
Pages 98.88% <ø> (ø)
Services 99.41% <ø> (ø)
Shared 99.58% <ø> (ø)
UI 99.26% <ø> (ø)

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 9d66eb1...d064eb2. Read the comment docs.

@codecov-staging
Copy link

codecov-staging bot commented Sep 19, 2024

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    #3211      +/-   ##
==========================================
- Coverage   99.10%   99.07%   -0.03%     
==========================================
  Files         799      799              
  Lines       13975    13975              
  Branches     3960     3960              
==========================================
- Hits        13850    13846       -4     
- Misses        117      120       +3     
- Partials        8        9       +1     
Files Coverage Δ
...outs/Header/components/ThemeToggle/ThemeToggle.tsx 92.30% <100.00%> (-7.70%) ⬇️

... and 2 files with indirect coverage changes

Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 98.84% <100.00%> (-1.16%) ⬇️
Pages 98.88% <ø> (ø)
Services 99.41% <ø> (ø)
Shared 99.58% <ø> (ø)
UI 99.26% <ø> (ø)

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 9d66eb1...d064eb2. Read the comment docs.

@codecov-qa
Copy link

codecov-qa bot commented Sep 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.07%. Comparing base (9d66eb1) to head (d064eb2).
Report is 5 commits behind head on main.

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3211      +/-   ##
==========================================
- Coverage   99.10%   99.07%   -0.03%     
==========================================
  Files         799      799              
  Lines       13975    13975              
  Branches     3960     3965       +5     
==========================================
- Hits        13850    13846       -4     
- Misses        117      120       +3     
- Partials        8        9       +1     
Files with missing lines Coverage Δ
...outs/Header/components/ThemeToggle/ThemeToggle.tsx 92.30% <100.00%> (-7.70%) ⬇️

... and 2 files with indirect coverage changes

Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 98.84% <100.00%> (-1.16%) ⬇️
Pages 98.88% <ø> (ø)
Services 99.41% <ø> (ø)
Shared 99.58% <ø> (ø)
UI 99.26% <ø> (ø)

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 9d66eb1...d064eb2. Read the comment docs.

Copy link

codecov-public-qa bot commented Sep 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.07%. Comparing base (9d66eb1) to head (d064eb2).

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3211      +/-   ##
==========================================
- Coverage   99.10%   99.07%   -0.03%     
==========================================
  Files         799      799              
  Lines       13975    13975              
  Branches     3965     3965              
==========================================
- Hits        13850    13846       -4     
- Misses        117      120       +3     
- Partials        8        9       +1     
Files Coverage Δ
...outs/Header/components/ThemeToggle/ThemeToggle.tsx 92.30% <100.00%> (-7.70%) ⬇️

... and 2 files with indirect coverage changes

Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 98.84% <100.00%> (-1.16%) ⬇️
Pages 98.88% <ø> (ø)
Services 99.41% <ø> (ø)
Shared 99.58% <ø> (ø)
UI 99.26% <ø> (ø)

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 9d66eb1...d064eb2. Read the comment docs.

Copy link

codecov bot commented Sep 19, 2024

Bundle Report

Changes will increase total bundle size by 25 bytes (0.0%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
gazebo-production-array-push 6.0MB 25 bytes (0.0%) ⬆️

@codecov-releaser
Copy link
Contributor

codecov-releaser commented Sep 19, 2024

✅ Deploy preview for gazebo ready!

Previews expire after 1 month automatically.

Storybook

Commit Created Cloud Enterprise
92532ed Thu, 19 Sep 2024 12:41:33 GMT Expired Expired
3569354 Thu, 19 Sep 2024 12:57:07 GMT Expired Expired
9e891c6 Thu, 19 Sep 2024 13:05:58 GMT Expired Expired
14963d8 Thu, 19 Sep 2024 13:17:58 GMT Expired Expired
eb35069 Thu, 19 Sep 2024 13:48:31 GMT Expired Expired
d064eb2 Thu, 19 Sep 2024 14:12:49 GMT Cloud Enterprise

@codecov-staging
Copy link

codecov-staging bot commented Sep 19, 2024

Bundle Report

Changes will increase total bundle size by 25 bytes ⬆️

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

Copy link
Contributor

@spalmurray-codecov spalmurray-codecov left a comment

Choose a reason for hiding this comment

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

Depending on what you think about my status: 200 suggestion, might need to update here as well

@nicholas-codecov nicholas-codecov added this pull request to the merge queue Sep 19, 2024
Merged via the queue into main with commit a4d03fa Sep 19, 2024
60 of 64 checks passed
@nicholas-codecov nicholas-codecov deleted the chore-update-layouts-header-tests branch September 19, 2024 14:27
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.

3 participants