Testing Recoil Selectors outside of React
It can be useful to manipulate and evaluate Recoil selectors outside of a React context for testing. This can be done by working with a Recoil
Snapshot. You can build a fresh snapshot using
snapshot_UNSTABLE() and then use that
Snapshot to evaluate selectors for testing.