diff options
author | brunobar79 <brunobar79@gmail.com> | 2018-07-03 08:12:50 +0800 |
---|---|---|
committer | brunobar79 <brunobar79@gmail.com> | 2018-07-03 08:12:50 +0800 |
commit | 0da41263acabe99fb1bf6b1a3a00c0c27a305eea (patch) | |
tree | 722f22697118dfef12d83f55cce13a567040791d /test/unit/app/edge-encryptor-test.js | |
parent | 390f86113a3ca8c1e2725af4705b3863f3da9a3f (diff) | |
download | tangerine-wallet-browser-0da41263acabe99fb1bf6b1a3a00c0c27a305eea.tar tangerine-wallet-browser-0da41263acabe99fb1bf6b1a3a00c0c27a305eea.tar.gz tangerine-wallet-browser-0da41263acabe99fb1bf6b1a3a00c0c27a305eea.tar.bz2 tangerine-wallet-browser-0da41263acabe99fb1bf6b1a3a00c0c27a305eea.tar.lz tangerine-wallet-browser-0da41263acabe99fb1bf6b1a3a00c0c27a305eea.tar.xz 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.js | 4 |
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) |