-
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
Updated tests and created custom hook #266
Conversation
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.
is there any particular reason behind test file name not being useCounterdownTimer.test.js?
Rest looks good to me.
@@ -0,0 +1,66 @@ | |||
import {renderHook, act} from '@testing-library/react-hooks'; | |||
import useCountdownTimer from '../useCountdownTimer'; // Assuming this is the correct import path for your custom hook |
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.
Can we please remove this comment.
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.
Done
Nope, just update it |
Summary
TESTS
Screenshots or Recordings (Optional)
Redirection part is working
Screen.Recording.2024-04-13.at.11.34.38.PM.mov
Checklist