diff --git a/app/scripts/metamask-controller.test.js b/app/scripts/metamask-controller.test.js index 7123a8166971..40ad6d240527 100644 --- a/app/scripts/metamask-controller.test.js +++ b/app/scripts/metamask-controller.test.js @@ -325,6 +325,9 @@ describe('MetaMaskController', () => { metamaskController.coreKeyringController, 'createNewVaultAndRestore', ); + jest + .spyOn(metamaskController.preferencesController, 'removeAddress') + .mockImplementation((address) => address); }); describe('should reset states on first time profile load', () => {