aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/test
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-05-10 22:53:03 +0800
committerFabio Berger <me@fabioberger.com>2018-05-10 22:53:03 +0800
commiteeb08b7fae3a6e3608f6e52da686f557bad86a2b (patch)
tree42e81b24597459ff3b4cf0adce6c29a00ee73489 /packages/0x.js/test
parent20beb2bdb65c831dde7c8a089305982f2b31002d (diff)
downloaddexon-0x-contracts-eeb08b7fae3a6e3608f6e52da686f557bad86a2b.tar
dexon-0x-contracts-eeb08b7fae3a6e3608f6e52da686f557bad86a2b.tar.gz
dexon-0x-contracts-eeb08b7fae3a6e3608f6e52da686f557bad86a2b.tar.bz2
dexon-0x-contracts-eeb08b7fae3a6e3608f6e52da686f557bad86a2b.tar.lz
dexon-0x-contracts-eeb08b7fae3a6e3608f6e52da686f557bad86a2b.tar.xz
dexon-0x-contracts-eeb08b7fae3a6e3608f6e52da686f557bad86a2b.tar.zst
dexon-0x-contracts-eeb08b7fae3a6e3608f6e52da686f557bad86a2b.zip
Fix type error for latched on property
Diffstat (limited to 'packages/0x.js/test')
-rw-r--r--packages/0x.js/test/0x.js_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/0x.js/test/0x.js_test.ts b/packages/0x.js/test/0x.js_test.ts
index 0a708e94d..ce2fa34bf 100644
--- a/packages/0x.js/test/0x.js_test.ts
+++ b/packages/0x.js/test/0x.js_test.ts
@@ -44,7 +44,7 @@ describe('ZeroEx library', () => {
// Check that all nested zeroExContract/web3Wrapper instances return the updated provider
const nestedWeb3WrapperProvider = ((zeroEx as any)._contractWrappers as ContractWrappers).getProvider();
- expect(nestedWeb3WrapperProvider.zeroExTestId).to.be.a('number');
+ expect((nestedWeb3WrapperProvider as any).zeroExTestId).to.be.a('number');
const exchangeWeb3WrapperProvider = (zeroEx.exchange as any)._web3Wrapper.getProvider();
expect(exchangeWeb3WrapperProvider.zeroExTestId).to.be.a('number');
const tokenRegistryWeb3WrapperProvider = (zeroEx.tokenRegistry as any)._web3Wrapper.getProvider();