You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
satanTime
changed the title
attach MockInstance to useClass and useValue if it is possible
attach MockProvider to useClass and useValue if it is possible
Jul 26, 2021
Due to ctor deps, there is no an easy way to create instances based on classes. The only way is to use ngMocks.defaultMock, which has access to injector and provides required flexibility.
An investigation is needed to check whether there is a way how to attach
MockInstance
to all possible provider configurations.The text was updated successfully, but these errors were encountered: