diff --git a/packages/sdk/src/services/MetaMaskSDK/ConnectionManager/terminate.test.ts b/packages/sdk/src/services/MetaMaskSDK/ConnectionManager/terminate.test.ts index 8e16b7c07..a680b4eca 100644 --- a/packages/sdk/src/services/MetaMaskSDK/ConnectionManager/terminate.test.ts +++ b/packages/sdk/src/services/MetaMaskSDK/ConnectionManager/terminate.test.ts @@ -90,7 +90,7 @@ describe('terminate', () => { it('should not switch providers if extensionOnly option is true', async () => { instance.options.extensionOnly = true; await terminate(instance); - expect(mockEmit).not.toHaveBeenCalled(); + expect(mockEmit).toHaveBeenCalledTimes(1); }); });