diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-30 03:54:03 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-30 03:54:03 +0800 |
commit | e1e79519b9430427dd6cbe2bfa9ced246ff14fbc (patch) | |
tree | 31fe8763a5cf39521fbb86fdd12e5d3b2014c39b /test/exchange_wrapper_test.ts | |
parent | b1573fc6a779dbf20bbcd9216c70e2c211b4f8fe (diff) | |
download | dexon-sol-tools-e1e79519b9430427dd6cbe2bfa9ced246ff14fbc.tar dexon-sol-tools-e1e79519b9430427dd6cbe2bfa9ced246ff14fbc.tar.gz dexon-sol-tools-e1e79519b9430427dd6cbe2bfa9ced246ff14fbc.tar.bz2 dexon-sol-tools-e1e79519b9430427dd6cbe2bfa9ced246ff14fbc.tar.lz dexon-sol-tools-e1e79519b9430427dd6cbe2bfa9ced246ff14fbc.tar.xz dexon-sol-tools-e1e79519b9430427dd6cbe2bfa9ced246ff14fbc.tar.zst dexon-sol-tools-e1e79519b9430427dd6cbe2bfa9ced246ff14fbc.zip |
Fix typo in getAvailableContractAddressesAsync
Diffstat (limited to 'test/exchange_wrapper_test.ts')
-rw-r--r-- | test/exchange_wrapper_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/exchange_wrapper_test.ts b/test/exchange_wrapper_test.ts index 168d20e97..6c81bcb49 100644 --- a/test/exchange_wrapper_test.ts +++ b/test/exchange_wrapper_test.ts @@ -42,7 +42,7 @@ describe('ExchangeWrapper', () => { before(async () => { web3 = web3Factory.create(); zeroEx = new ZeroEx(web3.currentProvider); - [exchangeContractAddress] = await zeroEx.exchange.getAvailableContractAddressedAsync(); + [exchangeContractAddress] = await zeroEx.exchange.getAvailableContractAddressesAsync(); userAddresses = await promisify(web3.eth.getAccounts)(); tokens = await zeroEx.tokenRegistry.getTokensAsync(); tokenUtils = new TokenUtils(tokens); @@ -813,7 +813,7 @@ describe('ExchangeWrapper', () => { }); describe('#getAvailableContractAddressedAsync', () => { it('returns the exchange contract addresses', async () => { - const exchangeAddresses = await zeroEx.exchange.getAvailableContractAddressedAsync(); + const exchangeAddresses = await zeroEx.exchange.getAvailableContractAddressesAsync(); _.map(exchangeAddresses, exchangeAddress => { assert.isETHAddressHex('exchangeAddress', exchangeAddress); }); |