aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
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()
})
})
})