aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/test
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-05-10 20:59:37 +0800
committerFabio Berger <me@fabioberger.com>2018-05-10 20:59:37 +0800
commitd3adb48c2eefb5754acb654994cab3f1b94a2e38 (patch)
treec96fa639cfff05a1ad384796b53d6415581fbcfc /packages/0x.js/test
parent9838124abcce9acc38f011a20d0e898dfc03e47d (diff)
downloaddexon-sol-tools-d3adb48c2eefb5754acb654994cab3f1b94a2e38.tar
dexon-sol-tools-d3adb48c2eefb5754acb654994cab3f1b94a2e38.tar.gz
dexon-sol-tools-d3adb48c2eefb5754acb654994cab3f1b94a2e38.tar.bz2
dexon-sol-tools-d3adb48c2eefb5754acb654994cab3f1b94a2e38.tar.lz
dexon-sol-tools-d3adb48c2eefb5754acb654994cab3f1b94a2e38.tar.xz
dexon-sol-tools-d3adb48c2eefb5754acb654994cab3f1b94a2e38.tar.zst
dexon-sol-tools-d3adb48c2eefb5754acb654994cab3f1b94a2e38.zip
Fix no-any-propagation
Diffstat (limited to 'packages/0x.js/test')
-rw-r--r--packages/0x.js/test/0x.js_test.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/0x.js/test/0x.js_test.ts b/packages/0x.js/test/0x.js_test.ts
index fe5948e00..0a708e94d 100644
--- a/packages/0x.js/test/0x.js_test.ts
+++ b/packages/0x.js/test/0x.js_test.ts
@@ -1,3 +1,4 @@
+import { ContractWrappers } from '@0xproject/contract-wrappers';
import { BlockchainLifecycle, devConstants, web3Factory } from '@0xproject/dev-utils';
import { BigNumber } from '@0xproject/utils';
import * as chai from 'chai';
@@ -42,7 +43,7 @@ describe('ZeroEx library', () => {
expect((zeroEx.tokenRegistry as any)._tokenRegistryContractIfExists).to.be.undefined();
// Check that all nested zeroExContract/web3Wrapper instances return the updated provider
- const nestedWeb3WrapperProvider = (zeroEx as any)._contractWrappers.getProvider();
+ const nestedWeb3WrapperProvider = ((zeroEx as any)._contractWrappers as ContractWrappers).getProvider();
expect(nestedWeb3WrapperProvider.zeroExTestId).to.be.a('number');
const exchangeWeb3WrapperProvider = (zeroEx.exchange as any)._web3Wrapper.getProvider();
expect(exchangeWeb3WrapperProvider.zeroExTestId).to.be.a('number');