polemius/recoil-persist

how to testing with jest!

thuantvDr4 opened this issue · 0 comments

when I plug effects_UNSTABLE: [ReactNativeRecoilPersist.persistAtom], into myAtom, and then run test it gives error: TypeError: effect is not a function.
I try command line //effects_UNSTABLE: [ReactNativeRecoilPersist.persistAtom]. and run test again, so it test passed.
I don't why and don't find any solution. Anyone have solutions, please show me.
thank all so much.