forked from facebookexperimental/Recoil
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add simple test for setSelf() in onSet()
Summary: Add a simple test for the use-case of always transforming an atom value with an effect using `setSelf()` in `onSet()` based on concern in facebookexperimental#1582. Reviewed By: habond Differential Revision: D33908670 fbshipit-source-id: f9da1c1c19fb45c1c439bc0427d9e95d6ae031b3
- Loading branch information
1 parent
304b468
commit e14a9f7
Showing
1 changed file
with
75 additions
and
0 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