mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
fix test
This commit is contained in:
parent
8292dabed5
commit
1b367bc215
@ -43,7 +43,7 @@ describe('EdgeEncryptor', function () {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
it('should not return the same twice.', function () {
|
it('should not return the same twice.', function (done) {
|
||||||
|
|
||||||
const encryptPromises = []
|
const encryptPromises = []
|
||||||
encryptPromises.push(edgeEncryptor.encrypt(password, data))
|
encryptPromises.push(edgeEncryptor.encrypt(password, data))
|
||||||
@ -54,6 +54,7 @@ describe('EdgeEncryptor', function () {
|
|||||||
assert.notEqual(encryptedData[0], encryptedData[1])
|
assert.notEqual(encryptedData[0], encryptedData[1])
|
||||||
assert.notEqual(encryptedData[0].length, 0)
|
assert.notEqual(encryptedData[0].length, 0)
|
||||||
assert.notEqual(encryptedData[1].length, 0)
|
assert.notEqual(encryptedData[1].length, 0)
|
||||||
|
done()
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user