forked from facebookexperimental/Recoil
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unit tests for getting/setting/initing atoms via transaction
Summary: Add unit tests for getting/setting atoms via `useRecoilTransaction_UNSTABLE()` NOTE: Not sure how to test setting an atom as Jest is complaining about updates not wrapped in `act(...)`... Differential Revision: D32774468 fbshipit-source-id: ec92166e04008331c1d19d97e7fbe970ebb4ceaf
- Loading branch information
1 parent
eeacab4
commit 3ed34d3
Showing
1 changed file
with
145 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters