-
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/ToastNotifications to Vitest #3217
chore: Update layouts/ToastNotifications to Vitest #3217
Conversation
Bundle ReportBundle size has no change ✅
|
Bundle ReportBundle size has no change ✅ |
✅ Deploy preview for gazebo ready!Previews expire after 1 month automatically.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅ ✅ All tests successful. No failed tests found. @@ Coverage Diff @@
## main #3217 +/- ##
=======================================
Coverage 99.06% 99.06%
=======================================
Files 798 798
Lines 13966 13966
Branches 3879 3958 +79
=======================================
Hits 13836 13836
Misses 122 122
Partials 8 8
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 #3217 +/- ##
=======================================
Coverage 99.06% 99.06%
=======================================
Files 798 798
Lines 13966 13966
Branches 3879 3963 +84
=======================================
Hits 13836 13836
Misses 122 122
Partials 8 8
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 #3217 +/- ##
=======================================
Coverage 99.06% 99.06%
=======================================
Files 798 798
Lines 13966 13966
Branches 3958 3932 -26
=======================================
Hits 13836 13836
Misses 122 122
Partials 8 8
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 #3217 +/- ##
===========================================
Coverage 99.06000 99.06000
===========================================
Files 798 798
Lines 13966 13966
Branches 3879 3963 +84
===========================================
Hits 13836 13836
Misses 122 122
Partials 8 8
Continue to review full report in Codecov by Sentry.
|
@@ -35,7 +36,7 @@ describe('ToastNotifications', () => { | |||
|
|||
describe('when rendered', () => { | |||
beforeEach(() => { | |||
jest.useFakeTimers() | |||
vi.useFakeTimers() |
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.
very nice that there's a plug and play equivalent to the timers
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.
it's amazing how well they've done it
Description
Update tests in
layouts/ToastNotifications
to VitestNotable Changes
ToastNotifications
tests to Vitest