aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-05-30 18:36:28 +0800
committerFabio Berger <me@fabioberger.com>2017-05-30 18:36:28 +0800
commit02d7f808ab0a38e145c619b360738dc976898d54 (patch)
tree658094383e06e2b4df944486f7caeb54550007ea /test
parent4d63a4d02a68974df75c9cae85d43c0ba628c740 (diff)
parent73ae3df172b1fdb7e6a3f5cbb866b09fb5f9d032 (diff)
downloaddexon-sol-tools-02d7f808ab0a38e145c619b360738dc976898d54.tar
dexon-sol-tools-02d7f808ab0a38e145c619b360738dc976898d54.tar.gz
dexon-sol-tools-02d7f808ab0a38e145c619b360738dc976898d54.tar.bz2
dexon-sol-tools-02d7f808ab0a38e145c619b360738dc976898d54.tar.lz
dexon-sol-tools-02d7f808ab0a38e145c619b360738dc976898d54.tar.xz
dexon-sol-tools-02d7f808ab0a38e145c619b360738dc976898d54.tar.zst
dexon-sol-tools-02d7f808ab0a38e145c619b360738dc976898d54.zip
Merge branch 'master' into tokenRegistry
# Conflicts: # src/0x.js.ts
Diffstat (limited to 'test')
-rw-r--r--test/0x.js_test.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/0x.js_test.ts b/test/0x.js_test.ts
index bb312a00f..c45c70991 100644
--- a/test/0x.js_test.ts
+++ b/test/0x.js_test.ts
@@ -194,9 +194,9 @@ describe('ZeroEx library', () => {
const web3 = web3Factory.create();
const zeroEx = new ZeroEx(web3);
stubs = [
- Sinon.stub(zeroEx.web3Wrapper, 'getNodeVersionAsync')
+ Sinon.stub((zeroEx as any).web3Wrapper, 'getNodeVersionAsync')
.returns(Promise.resolve(newParityNodeVersion)),
- Sinon.stub(zeroEx.web3Wrapper, 'signTransactionAsync')
+ Sinon.stub((zeroEx as any).web3Wrapper, 'signTransactionAsync')
.returns(Promise.resolve(signature)),
Sinon.stub(ZeroEx, 'isValidSignature').returns(true),
];
@@ -218,9 +218,9 @@ describe('ZeroEx library', () => {
const web3 = web3Factory.create();
const zeroEx = new ZeroEx(web3);
stubs = [
- Sinon.stub(zeroEx.web3Wrapper, 'getNodeVersionAsync')
+ Sinon.stub((zeroEx as any).web3Wrapper, 'getNodeVersionAsync')
.returns(Promise.resolve(newParityNodeVersion)),
- Sinon.stub(zeroEx.web3Wrapper, 'signTransactionAsync')
+ Sinon.stub((zeroEx as any).web3Wrapper, 'signTransactionAsync')
.returns(Promise.resolve(signature)),
Sinon.stub(ZeroEx, 'isValidSignature').returns(true),
];