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

[AltTestingUtils] Add support to send constructor args in makeStoreTestable() #28

Open
gaurav414u opened this issue Jan 2, 2018 · 0 comments

Comments

@gaurav414u
Copy link

I have a number of Alt-Stores which require dependencies in the form of constructorArgs. When I use AltTestingUtils.makeStoreTestable(myAltInstance, MyUnWrappedStore) it fails for obvious reasons.
As there is no way to send constructor args in AltTestingUtils.makeStoreTestable(). Ideally it should be there because alt.createStore() also supports this (StoreModel: function, iden: ?string, …constructorArgs): AltStore (docs).

I have almost made the changes and will make a pull request in a bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant