diff options
author | Fabio Berger <me@fabioberger.com> | 2017-05-30 18:36:28 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-05-30 18:36:28 +0800 |
commit | 02d7f808ab0a38e145c619b360738dc976898d54 (patch) | |
tree | 658094383e06e2b4df944486f7caeb54550007ea /test | |
parent | 4d63a4d02a68974df75c9cae85d43c0ba628c740 (diff) | |
parent | 73ae3df172b1fdb7e6a3f5cbb866b09fb5f9d032 (diff) | |
download | dexon-0x-contracts-02d7f808ab0a38e145c619b360738dc976898d54.tar.gz dexon-0x-contracts-02d7f808ab0a38e145c619b360738dc976898d54.tar.zst dexon-0x-contracts-02d7f808ab0a38e145c619b360738dc976898d54.zip |
Merge branch 'master' into tokenRegistry
# Conflicts:
# src/0x.js.ts
Diffstat (limited to 'test')
-rw-r--r-- | test/0x.js_test.ts | 8 |
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), ]; |