mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +01:00
fix unit tests
This commit is contained in:
parent
cee5783283
commit
54021fd90b
@ -573,7 +573,7 @@ describe('MetaMaskController', function () {
|
||||
assert(metamaskController.preferencesController.removeAddress.calledWith(addressToRemove))
|
||||
})
|
||||
it('should call accountTracker.removeAccount', async function () {
|
||||
assert(metamaskController.accountTracker.removeAccount.calledWith(addressToRemove))
|
||||
assert(metamaskController.accountTracker.removeAccount.calledWith([addressToRemove]))
|
||||
})
|
||||
it('should call keyringController.removeAccount', async function () {
|
||||
assert(metamaskController.keyringController.removeAccount.calledWith(addressToRemove))
|
||||
|
Loading…
Reference in New Issue
Block a user