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
Is there a way to manually switch off the warnings about provideComponentStore not being used?
We are using ng-mocks and the service to be tested is built directly, not via a provider.
This means that we either have to put up with lots of warnings in our test logs, or create a dummy component with the store as a dependency, and then render that instead.
It works, but it means writing extra code just to keep our logs clean from this warning.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
Is there a way to manually switch off the warnings about
provideComponentStore
not being used?We are using
ng-mocks
and the service to be tested is built directly, not via a provider.This means that we either have to put up with lots of warnings in our test logs, or create a dummy component with the store as a dependency, and then render that instead.
It works, but it means writing extra code just to keep our logs clean from this warning.
Thanks in advance
Nick
Beta Was this translation helpful? Give feedback.
All reactions