You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The implementation could be the same as react-testing-library
// cleanup-after-each.js or just cleanup.jsafterEach(require('./dist').cleanup);// to make sense to react-hooks-testing-library just change to /libafterEach(require('./lib').cleanup);
So the test suites would be more cleaner and you don't have to worry about cleanups. I would love to open a PR for this. 😁
The text was updated successfully, but these errors were encountered:
I love react-testing-library and would be interesting if react-hooks-testing-library have the same clean up behavior.
So besides this
We could have one more way to do that and use the same approach as react-testing-library and use it in setup files
The implementation could be the same as react-testing-library
So the test suites would be more cleaner and you don't have to worry about cleanups. I would love to open a PR for this. 😁
The text was updated successfully, but these errors were encountered: