mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-22 17:33:23 +01:00
Fix nickname test
This commit is contained in:
parent
7b420c6e15
commit
798e057854
@ -110,6 +110,7 @@ describe('KeyringController', function() {
|
||||
it ('sets the nickname', function() {
|
||||
const account = addresses[0]
|
||||
var nick = 'Test nickname'
|
||||
keyringController.identities[ethUtil.addHexPrefix(account)] = {}
|
||||
const label = keyringController.saveAccountLabel(account, nick)
|
||||
assert.equal(label, nick)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user