-
Notifications
You must be signed in to change notification settings - Fork 22
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/BaseLayout tests to Vitest #3208
chore: Update layouts/BaseLayout tests to Vitest #3208
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. @@ Coverage Diff @@
## main #3208 +/- ##
=======================================
Coverage 99.10% 99.11%
=======================================
Files 799 799
Lines 13975 13975
Branches 3960 3965 +5
=======================================
+ Hits 13850 13851 +1
+ Misses 117 116 -1
Partials 8 8 see 1 file with indirect coverage changes
Continue to review full report in Codecov by Sentry.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #3208 +/- ##
================================================
+ Coverage 99.10000 99.11000 +0.01000
================================================
Files 799 799
Lines 13975 13975
Branches 3965 3960 -5
================================================
+ Hits 13850 13851 +1
+ Misses 117 116 -1
Partials 8 8 see 1 file with indirect coverage changes
Continue to review full report in Codecov by Sentry.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅ ✅ All tests successful. No failed tests found. @@ Coverage Diff @@
## main #3208 +/- ##
=======================================
Coverage 99.10% 99.11%
=======================================
Files 799 799
Lines 13975 13975
Branches 3960 3960
=======================================
+ Hits 13850 13851 +1
+ Misses 117 116 -1
Partials 8 8 see 1 file with indirect coverage changes
Continue to review full report in Codecov by Sentry.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. @@ Coverage Diff @@
## main #3208 +/- ##
=======================================
Coverage 99.10% 99.11%
=======================================
Files 799 799
Lines 13975 13975
Branches 3965 3965
=======================================
+ Hits 13850 13851 +1
+ Misses 117 116 -1
Partials 8 8 see 1 file with indirect coverage changes
Continue to review full report in Codecov by Sentry.
|
d45ce9f
to
41becb1
Compare
Bundle ReportBundle size has no change ✅ |
✅ Deploy preview for gazebo ready!Previews expire after 1 month automatically.
|
41becb1
to
98f91e0
Compare
Bundle ReportBundle size has no change ✅
|
98f91e0
to
532ffce
Compare
) | ||
}), | ||
graphql.mutation('updateDefaultOrganization', (info) => { | ||
return HttpResponse.json({ data: {} }, { status: 200 }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In App.test.tsx you added { status: 200 }
as an example of setting status which I'm cool with, but since 200 is default, IMO we shouldn't make explicitly stating it a pattern across the codebase. Thoughts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yea we can remove these
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tyty appreciate
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One comment, lgtm otherwise
Description
This PR updates the tests in the
layouts/BaseLayout
directory to VitestRequires #3201
Notable Changes
BaseLayout
testsuseUserAccessGate
testsInstallationHelpBanner
tests