-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIxed all warnings from running tests (#152)
* Added a test case for the new custom title prop * Fixed all wrap in act warnings from the tests. * We need to use waitFor to get the getByTestId callback ready after render. * Removed the deprecated react-test-library * Wrapped simple fire events in act and async events in async act * Used fake timers to set the time out value of 5000 * Fixed same warnings for snapshot tests as well. * Fixed a test failing on CI by increasing the timeout for first test
- Loading branch information
1 parent
4562a8b
commit ce5a45f
Showing
11 changed files
with
721 additions
and
474 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.