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
Override ContextManager.sharedInstance only in TestContextManager
There are many places calling `ContextManager.overrideSharedInstance` to
set or unset the global `ContextManager` singleton for testing purpose.
This change makes `TestContextManager` the only one responsible for
that.
This change also allows `ContextManagerMock` to be inistantiated without
affecting the `ContextManager.shared` singleton, thus avoids sharing
state betweetn unit test cases.
0 commit comments