-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Store: add ability to create the Store/MockStore outside of the TestBed #2745
Comments
3 tasks
I managed to achieve this in my project by the following:
|
Hey @amartinelli12 Checkout the PR from @markostanimirovic that's attached here: #2759 |
brandonroberts
pushed a commit
that referenced
this issue
Nov 15, 2020
brandonroberts
pushed a commit
that referenced
this issue
Nov 25, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently you have to use the TestBed
provideMockStore()
to get an instance of theMockStore
. This would declare static providers when usingprovideMockStore()
so it can be used withInjector.create()
Describe any alternatives/workarounds you're currently using
Other information:
If accepted, I would be willing to submit a PR for this feature
[ ] Yes (Assistance is provided if you need help submitting a pull request)
[ ] No
The text was updated successfully, but these errors were encountered: