Testing components using injection tokens (multi) #5537
Answered
by
satanTime
LukasMachetanz
asked this question in
Q&A
-
Hey, is it possible to mock a specific |
Beta Was this translation helpful? Give feedback.
Answered by
satanTime
May 13, 2023
Replies: 1 comment 2 replies
-
Currently, I am doing it like this:
But I would like to prevent using the cast |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A fix has been released in v.14.10.1: https://ng-mocks.sudo.eu/api/MockInstance#customizing-tokens