diff options
author | Fabio Berger <me@fabioberger.com> | 2018-05-10 22:53:03 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-05-10 22:53:03 +0800 |
commit | eeb08b7fae3a6e3608f6e52da686f557bad86a2b (patch) | |
tree | 42e81b24597459ff3b4cf0adce6c29a00ee73489 | |
parent | 20beb2bdb65c831dde7c8a089305982f2b31002d (diff) | |
download | dexon-sol-tools-eeb08b7fae3a6e3608f6e52da686f557bad86a2b.tar dexon-sol-tools-eeb08b7fae3a6e3608f6e52da686f557bad86a2b.tar.gz dexon-sol-tools-eeb08b7fae3a6e3608f6e52da686f557bad86a2b.tar.bz2 dexon-sol-tools-eeb08b7fae3a6e3608f6e52da686f557bad86a2b.tar.lz dexon-sol-tools-eeb08b7fae3a6e3608f6e52da686f557bad86a2b.tar.xz dexon-sol-tools-eeb08b7fae3a6e3608f6e52da686f557bad86a2b.tar.zst dexon-sol-tools-eeb08b7fae3a6e3608f6e52da686f557bad86a2b.zip |
Fix type error for latched on property
-rw-r--r-- | packages/0x.js/test/0x.js_test.ts | 2 |
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(); |