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

Testing components using injection tokens (multi) #5585

Closed
satanTime opened this issue May 1, 2023 Discussed in #5537 · 1 comment · Fixed by #5735
Closed

Testing components using injection tokens (multi) #5585

satanTime opened this issue May 1, 2023 Discussed in #5537 · 1 comment · Fixed by #5735

Comments

@satanTime
Copy link
Member

Discussed in #5537

Originally posted by LukasMachetanz April 25, 2023
Hey, is it possible to mock a specific InjectionToken which is assumed to be provided using the multi flag within a dedicated test, e.g. using MockInstance?

satanTime added a commit to satanTime/ng-mocks that referenced this issue May 13, 2023
satanTime added a commit that referenced this issue May 13, 2023
fix(MockInstance): multi-token and multi-service #5585
@satanTime
Copy link
Member Author

v14.10.1 has been released and contains a fix for the issue. Feel free to reopen the issue or to submit a new one if you meet any problems.

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

Successfully merging a pull request may close this issue.

1 participant