diff options
author | Leonid <logvinov.leon@gmail.com> | 2017-06-08 23:21:00 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-08 23:21:00 +0800 |
commit | ce3aed7236b718c31a3b7eeaedcdc707490be5c8 (patch) | |
tree | c294517202166c86ed8568bd412e0239ca540163 /test | |
parent | d7b5212b73457fec1bb49155936d777305eb362b (diff) | |
parent | 0b5abb29a9ab8f2fda5bc37980c3e40296cf7696 (diff) | |
download | dexon-0x-contracts-ce3aed7236b718c31a3b7eeaedcdc707490be5c8.tar.gz dexon-0x-contracts-ce3aed7236b718c31a3b7eeaedcdc707490be5c8.tar.zst dexon-0x-contracts-ce3aed7236b718c31a3b7eeaedcdc707490be5c8.zip |
Merge pull request #48 from 0xProject/interfaceTweaks
Interface tweaks
Diffstat (limited to 'test')
-rw-r--r-- | test/0x.js_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/0x.js_test.ts b/test/0x.js_test.ts index d41cbefd7..d33480c6b 100644 --- a/test/0x.js_test.ts +++ b/test/0x.js_test.ts @@ -36,9 +36,9 @@ describe('ZeroEx library', () => { // Check that all nested web3 instances return the updated provider const nestedWeb3WrapperProvider = (zeroEx as any).web3Wrapper.getCurrentProvider(); expect((nestedWeb3WrapperProvider as any).zeroExTestId).to.be.a('number'); - const exchangeWeb3WrapperProvider = zeroEx.exchange.web3Wrapper.getCurrentProvider(); + const exchangeWeb3WrapperProvider = (zeroEx.exchange as any).web3Wrapper.getCurrentProvider(); expect((exchangeWeb3WrapperProvider as any).zeroExTestId).to.be.a('number'); - const tokenRegistryWeb3WrapperProvider = zeroEx.tokenRegistry.web3Wrapper.getCurrentProvider(); + const tokenRegistryWeb3WrapperProvider = (zeroEx.tokenRegistry as any).web3Wrapper.getCurrentProvider(); expect((tokenRegistryWeb3WrapperProvider as any).zeroExTestId).to.be.a('number'); }); }); |