diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-30 01:53:11 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-30 01:53:11 +0800 |
commit | 91e2857645d790e0c847414b3676eef59aa59b9c (patch) | |
tree | 067c78d8fe4c0e32f9416f90358d13c491cbb19a /test | |
parent | 5e5acdc56e6a60da9e352044c38c071d73bf8f3e (diff) | |
download | dexon-sol-tools-91e2857645d790e0c847414b3676eef59aa59b9c.tar dexon-sol-tools-91e2857645d790e0c847414b3676eef59aa59b9c.tar.gz dexon-sol-tools-91e2857645d790e0c847414b3676eef59aa59b9c.tar.bz2 dexon-sol-tools-91e2857645d790e0c847414b3676eef59aa59b9c.tar.lz dexon-sol-tools-91e2857645d790e0c847414b3676eef59aa59b9c.tar.xz dexon-sol-tools-91e2857645d790e0c847414b3676eef59aa59b9c.tar.zst dexon-sol-tools-91e2857645d790e0c847414b3676eef59aa59b9c.zip |
Fix a typo in a name
Diffstat (limited to 'test')
-rw-r--r-- | test/0x.js_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/0x.js_test.ts b/test/0x.js_test.ts index f4d13886b..7e350c8f4 100644 --- a/test/0x.js_test.ts +++ b/test/0x.js_test.ts @@ -16,7 +16,7 @@ describe('ZeroEx library', () => { it('overrides provider in nested web3s and invalidates contractInstances', async () => { const web3 = web3Factory.create(); const zeroEx = new ZeroEx(web3.currentProvider); - const [exchangeContractAddress] = await zeroEx.exchange.getAvailableContractAddressedAsync(); + const [exchangeContractAddress] = await zeroEx.exchange.getAvailableContractAddressesAsync(); // Instantiate the contract instances with the current provider await (zeroEx.exchange as any)._getExchangeContractAsync(exchangeContractAddress); await (zeroEx.tokenRegistry as any)._getTokenRegistryContractAsync(); @@ -55,7 +55,7 @@ describe('ZeroEx library', () => { const zeroEx = new ZeroEx(web3.currentProvider); let exchangeContractAddress: string; before(async () => { - [exchangeContractAddress] = await zeroEx.exchange.getAvailableContractAddressedAsync(); + [exchangeContractAddress] = await zeroEx.exchange.getAvailableContractAddressesAsync(); }); it('should return false if the data doesn\'t pertain to the signature & address', async () => { expect(ZeroEx.isValidSignature('0x0', signature, address)).to.be.false(); |