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
I use the Testing Library to implement unit and integration tests. I have components sharing global states maintained by Hookstate. What is the correct way to write tests for these components and not have problems when the tests are run in parallel?
Thanks in advance for any support.
The text was updated successfully, but these errors were encountered:
parallel tests should run in separate worker threads, each having its own copy of the runtime and ram state... at least it is the case with jest and playwright... what test framework do you use?
Isolating global states between tests
I use the Testing Library to implement unit and integration tests. I have components sharing global states maintained by Hookstate. What is the correct way to write tests for these components and not have problems when the tests are run in parallel?
Thanks in advance for any support.
The text was updated successfully, but these errors were encountered: