Replies: 1 comment 2 replies
-
Have you looked at this? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a straight forward way of resetting proxy state between RTL tests that can run in parallel?
Currently I have a simple store that I'd like to reset between each test. When using jotai it was simple as we can pass in a new Provider to the RTL render function but this isn't viable as I need to be able to use the valtio proxies outside of react.
src/store/valtioStore.ts
Any pointers or ideas would be much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions