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 | |
parent | b1573fc6a779dbf20bbcd9216c70e2c211b4f8fe (diff) | |
download | dexon-0x-contracts-e1e79519b9430427dd6cbe2bfa9ced246ff14fbc.tar.gz dexon-0x-contracts-e1e79519b9430427dd6cbe2bfa9ced246ff14fbc.tar.zst dexon-0x-contracts-e1e79519b9430427dd6cbe2bfa9ced246ff14fbc.zip |
Fix typo in getAvailableContractAddressesAsync
Diffstat (limited to 'test')
-rw-r--r-- | test/artifacts_test.ts | 2 | ||||
-rw-r--r-- | test/exchange_wrapper_test.ts | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/artifacts_test.ts b/test/artifacts_test.ts index 8bc110b21..22d55a2ee 100644 --- a/test/artifacts_test.ts +++ b/test/artifacts_test.ts @@ -27,7 +27,7 @@ describe('Artifacts', () => { await (zeroEx.token as any)._getProxyAddressAsync(); }).timeout(TIMEOUT); it('exchange contract is deployed', async () => { - const exchangeContractAddresses = await zeroEx.exchange.getAvailableContractAddressedAsync(); + const exchangeContractAddresses = await zeroEx.exchange.getAvailableContractAddressesAsync(); expect(exchangeContractAddresses).to.have.lengthOf.above(0); }).timeout(TIMEOUT); }); 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); }); |