msal-react-tester
msal-react-tester copied to clipboard
Do no reset every mock, when calling resetSpyMsal()
When calling resetSpyMsal(), every mock of the test-runner is reset, which causes issues when one is also mocking other functionality than MSAL.
resetSpyMsal() {
this._testRunner.resetAllMocks();
this.accounts = [];
this.activeAccount = null;
this._eventCallbacks = [];
}
Is there a possibility to only reset mocks related to MSAL?