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
It's an antipattern to test internal states in unit tests.
This is done in places to observe side effects, but should probably be removed so that only the public API is tested. If internal state needs to be observed it should be mocked.
The text was updated successfully, but these errors were encountered:
It's an antipattern to test internal states in unit tests.
This is done in places to observe side effects, but should probably be removed so that only the public API is tested. If internal state needs to be observed it should be mocked.
The text was updated successfully, but these errors were encountered: