mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +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() {
|
it ('sets the nickname', function() {
|
||||||
const account = addresses[0]
|
const account = addresses[0]
|
||||||
var nick = 'Test nickname'
|
var nick = 'Test nickname'
|
||||||
|
keyringController.identities[ethUtil.addHexPrefix(account)] = {}
|
||||||
const label = keyringController.saveAccountLabel(account, nick)
|
const label = keyringController.saveAccountLabel(account, nick)
|
||||||
assert.equal(label, nick)
|
assert.equal(label, nick)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user