aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorCsaba Solya <csaba.solya@gmail.com>2018-02-23 18:11:14 +0800
committerCsaba Solya <csaba.solya@gmail.com>2018-02-23 18:11:14 +0800
commit1b367bc2150434f5d2324d4344dfbbeff0eb4967 (patch)
treea9cbe4e65ce7e604c0d6860ac7bef6d6af2fe77d /test
parent8292dabed56b858fa2ccec7497627f5e5aa65181 (diff)
downloadtangerine-wallet-browser-1b367bc2150434f5d2324d4344dfbbeff0eb4967.tar
tangerine-wallet-browser-1b367bc2150434f5d2324d4344dfbbeff0eb4967.tar.gz
tangerine-wallet-browser-1b367bc2150434f5d2324d4344dfbbeff0eb4967.tar.bz2
tangerine-wallet-browser-1b367bc2150434f5d2324d4344dfbbeff0eb4967.tar.lz
tangerine-wallet-browser-1b367bc2150434f5d2324d4344dfbbeff0eb4967.tar.xz
tangerine-wallet-browser-1b367bc2150434f5d2324d4344dfbbeff0eb4967.tar.zst
tangerine-wallet-browser-1b367bc2150434f5d2324d4344dfbbeff0eb4967.zip
fix test
Diffstat (limited to 'test')
-rw-r--r--test/unit/edge-encryptor-test.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/edge-encryptor-test.js b/test/unit/edge-encryptor-test.js
index 1dad4b91e..d3f014d74 100644
--- a/test/unit/edge-encryptor-test.js
+++ b/test/unit/edge-encryptor-test.js
@@ -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 = []
encryptPromises.push(edgeEncryptor.encrypt(password, data))
@@ -54,6 +54,7 @@ describe('EdgeEncryptor', function () {
assert.notEqual(encryptedData[0], encryptedData[1])
assert.notEqual(encryptedData[0].length, 0)
assert.notEqual(encryptedData[1].length, 0)
+ done()
})
})
})