Skip to content

Reproduction repository displaying inability to test "react-hot-toast@2" with testing-library.

Notifications You must be signed in to change notification settings

SimeonRolev/test-react-hot-toast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  1. 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.

  2. 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.

About

Reproduction repository displaying inability to test "react-hot-toast@2" with testing-library.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published