bunshi
bunshi copied to clipboard
API for unit tests
Hey!
(Firstly, this library is bloody amazing. IMO it should be first class for jotai.)
I have complicated molecules that I'd like to unit test. I'd appreciate some simple react-less API for doing so.
I need the equivalent of useMolecule to get the output of a molecule for a given scope. I noticed createStore used in store.test.ts. Perhaps exposing that would work?
Would you be open to a PR?