aboutsummaryrefslogtreecommitdiffstats
path: root/test/0x.js_test.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-06-08 18:06:04 +0800
committerFabio Berger <me@fabioberger.com>2017-06-08 18:06:04 +0800
commit196130ff96cd20bd13c7bada0ba5eb8d62a2cdc5 (patch)
tree0297eeb0ea076cb77727f45f14a2d93574f532cd /test/0x.js_test.ts
parent00782d6d68c08f3aec4f3dc8f8aee6054ac022e3 (diff)
downloaddexon-sol-tools-196130ff96cd20bd13c7bada0ba5eb8d62a2cdc5.tar
dexon-sol-tools-196130ff96cd20bd13c7bada0ba5eb8d62a2cdc5.tar.gz
dexon-sol-tools-196130ff96cd20bd13c7bada0ba5eb8d62a2cdc5.tar.bz2
dexon-sol-tools-196130ff96cd20bd13c7bada0ba5eb8d62a2cdc5.tar.lz
dexon-sol-tools-196130ff96cd20bd13c7bada0ba5eb8d62a2cdc5.tar.xz
dexon-sol-tools-196130ff96cd20bd13c7bada0ba5eb8d62a2cdc5.tar.zst
dexon-sol-tools-196130ff96cd20bd13c7bada0ba5eb8d62a2cdc5.zip
Make web3Wrapper protected instead of public
Diffstat (limited to 'test/0x.js_test.ts')
-rw-r--r--test/0x.js_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/0x.js_test.ts b/test/0x.js_test.ts
index 58f259a11..9cba93488 100644
--- a/test/0x.js_test.ts
+++ b/test/0x.js_test.ts
@@ -35,9 +35,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');
});
});