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

FIxed all warnings from running tests #152

Merged
merged 7 commits into from
Mar 1, 2025
Merged

Conversation

UdaySravanK
Copy link
Owner

@UdaySravanK UdaySravanK commented Mar 1, 2025

  • Added a new test for custom title prop
  • Delete the docs from the repo. If we need it, we will keep it in the demo project.
  • Fixed this warning for all tests
Screenshot 2025-03-01 at 13 31 08

- We need to use waitFor to get the getByTestId callback ready after render.
- Removed the deprecatd react-test-library
- Wrapped simple fire events in act and async events in asnc act
- Used fake timers to set the time out value of 5000
@UdaySravanK UdaySravanK merged commit ce5a45f into master Mar 1, 2025
3 checks passed
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.

1 participant