Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Flipper.instance writer method #309

merged 2 commits into from Nov 21, 2017

Add Flipper.instance writer method #309

merged 2 commits into from Nov 21, 2017


Copy link

@jnunemaker jnunemaker commented Nov 21, 2017

Tiny little doodad to update the Flipper.instance explicitly. Primarily useful for testing where you can just use the memory adapter like:

# in setup, before, or whatever your test framework calls it
Flipper.instance =
@jnunemaker jnunemaker self-assigned this Nov 21, 2017
@jnunemaker jnunemaker merged commit b1de739 into master Nov 21, 2017
0 of 2 checks passed
@jnunemaker jnunemaker deleted the instance-writer branch Nov 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant