aboutsummaryrefslogtreecommitdiffstats
path: root/test/lib
diff options
context:
space:
mode:
authorNoel Yoo <innovation.noel@gmail.com>2018-10-09 20:02:48 +0800
committerWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-10-09 20:02:48 +0800
commitebdefe81a10595bb3341afa2ab0851c8269c19d8 (patch)
treebe37de2472f316ed8b5b00f297ed9c1a1a851e71 /test/lib
parent012f7ddd72659b7ca470054f81487bd87b480392 (diff)
downloadtangerine-wallet-browser-ebdefe81a10595bb3341afa2ab0851c8269c19d8.tar
tangerine-wallet-browser-ebdefe81a10595bb3341afa2ab0851c8269c19d8.tar.gz
tangerine-wallet-browser-ebdefe81a10595bb3341afa2ab0851c8269c19d8.tar.bz2
tangerine-wallet-browser-ebdefe81a10595bb3341afa2ab0851c8269c19d8.tar.lz
tangerine-wallet-browser-ebdefe81a10595bb3341afa2ab0851c8269c19d8.tar.xz
tangerine-wallet-browser-ebdefe81a10595bb3341afa2ab0851c8269c19d8.tar.zst
tangerine-wallet-browser-ebdefe81a10595bb3341afa2ab0851c8269c19d8.zip
Refactor buffer constructor (#5468)
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/mock-encryptor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/mock-encryptor.js b/test/lib/mock-encryptor.js
index 48aa9e52c..852c536c2 100644
--- a/test/lib/mock-encryptor.js
+++ b/test/lib/mock-encryptor.js
@@ -1,5 +1,5 @@
var mockHex = '0xabcdef0123456789'
-var mockKey = new Buffer(32)
+var mockKey = Buffer.alloc(32)
let cacheVal
module.exports = {