aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorfrankiebee <frankie.diamond@gmail.com>2017-07-13 06:10:52 +0800
committerfrankiebee <frankie.diamond@gmail.com>2017-07-13 06:10:52 +0800
commitaeefcbd75bcf419833b9cc5b734e2d86f47ba6d1 (patch)
tree4d07502423a132aa396f1ddc37175b9da62806cc /test
parentbd26ec46aa8f2d144939573a8c427e2a7743d25c (diff)
downloadtangerine-wallet-browser-aeefcbd75bcf419833b9cc5b734e2d86f47ba6d1.tar
tangerine-wallet-browser-aeefcbd75bcf419833b9cc5b734e2d86f47ba6d1.tar.gz
tangerine-wallet-browser-aeefcbd75bcf419833b9cc5b734e2d86f47ba6d1.tar.bz2
tangerine-wallet-browser-aeefcbd75bcf419833b9cc5b734e2d86f47ba6d1.tar.lz
tangerine-wallet-browser-aeefcbd75bcf419833b9cc5b734e2d86f47ba6d1.tar.xz
tangerine-wallet-browser-aeefcbd75bcf419833b9cc5b734e2d86f47ba6d1.tar.zst
tangerine-wallet-browser-aeefcbd75bcf419833b9cc5b734e2d86f47ba6d1.zip
Fix test to match behavior
Diffstat (limited to 'test')
-rw-r--r--test/unit/nodeify-test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/nodeify-test.js b/test/unit/nodeify-test.js
index 5aed758fa..06241334d 100644
--- a/test/unit/nodeify-test.js
+++ b/test/unit/nodeify-test.js
@@ -11,7 +11,7 @@ describe('nodeify', function () {
}
it('should retain original context', function (done) {
- var nodified = nodeify(obj.promiseFunc).bind(obj)
+ var nodified = nodeify(obj.promiseFunc, obj)
nodified('baz', function (err, res) {
assert.equal(res, 'barbaz')
done()