-
npm run start
. There is a button to create a notification. Clicking it renders one. Close button closes it. After some seconds, the notification disappears from the DOM. -
npm run test -- --verbose=false
. Running a simple test with React Testing Library that tests if the Close button actually removes the notification from the DOM. Even with pumped up timeouts - it doesn't.
-
Notifications
You must be signed in to change notification settings - Fork 0
SimeonRolev/test-react-hot-toast
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Reproduction repository displaying inability to test "react-hot-toast@2" with testing-library.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published