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

feat(store): testing - should provide MockStore itself #2328

Closed
alex-okrushko opened this issue Jan 22, 2020 · 0 comments
Closed

feat(store): testing - should provide MockStore itself #2328

alex-okrushko opened this issue Jan 22, 2020 · 0 comments

Comments

@alex-okrushko
Copy link
Member

Describe any alternatives/workarounds you're currently using

Currently when we use provideMockStore() we need to get the Store and cast it to MockStore

const mockStore = TestBed.get(Store) as MockStore;

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

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

No branches or pull requests

2 participants