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
Stubbing the prototype of the class under test is effectively the same as testing private functions, which is covered by Don't test private functions #749.
Stubbing the prototype of a library that isn't under test should be unnecessary. Anything we need to stub in a controller should be passed in as a parameter to the constructor.
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: