aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/app/edge-encryptor-test.js
diff options
context:
space:
mode:
authorbrunobar79 <brunobar79@gmail.com>2018-07-03 08:12:50 +0800
committerbrunobar79 <brunobar79@gmail.com>2018-07-03 08:12:50 +0800
commit0da41263acabe99fb1bf6b1a3a00c0c27a305eea (patch)
tree722f22697118dfef12d83f55cce13a567040791d /test/unit/app/edge-encryptor-test.js
parent390f86113a3ca8c1e2725af4705b3863f3da9a3f (diff)
downloadtangerine-wallet-browser-0da41263acabe99fb1bf6b1a3a00c0c27a305eea.tar.gz
tangerine-wallet-browser-0da41263acabe99fb1bf6b1a3a00c0c27a305eea.tar.zst
tangerine-wallet-browser-0da41263acabe99fb1bf6b1a3a00c0c27a305eea.zip
fix warning for unit tests
Diffstat (limited to 'test/unit/app/edge-encryptor-test.js')
-rw-r--r--test/unit/app/edge-encryptor-test.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/app/edge-encryptor-test.js b/test/unit/app/edge-encryptor-test.js
index f7fb7561d..1a6255b36 100644
--- a/test/unit/app/edge-encryptor-test.js
+++ b/test/unit/app/edge-encryptor-test.js
@@ -35,8 +35,8 @@ describe('EdgeEncryptor', function () {
.then(function (encryptedData) {
const encryptedObject = JSON.parse(encryptedData)
assert.ok(encryptedObject.data, 'there is no data')
- assert.ok(encryptedObject.iv && encryptedObject.iv.length != 0, 'there is no iv')
- assert.ok(encryptedObject.salt && encryptedObject.salt.length != 0, 'there is no salt')
+ assert.ok(encryptedObject.iv && encryptedObject.iv.length !== 0, 'there is no iv')
+ assert.ok(encryptedObject.salt && encryptedObject.salt.length !== 0, 'there is no salt')
done()
}).catch(function (err) {
done(err)