React Testing Library Not Render the Toast Again After Render It Once in the Testing File #1119
Unanswered
JonMallozzi
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am running into a strange issue where react-testing-library calls the toast function but on the 2nd unit test in my file it doesn't render the toast in screen. I am probably doing something wrong but I am not sure. I am running version 9.1.3. Here is a very simple test file I made to show what is happening:
Thanks for any help advance
Beta Was this translation helpful? Give feedback.
All reactions