aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/test/artifacts_test.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-11-23 01:53:04 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-11-24 05:13:36 +0800
commit4fe28ec53c4e84544c3c21853dff57c4c6a4e45d (patch)
tree4b44732136d006aa550bef0f8c4c60a980e18771 /packages/0x.js/test/artifacts_test.ts
parentefe8e07854ac5527725350e871dab370d022ae01 (diff)
downloaddexon-sol-tools-4fe28ec53c4e84544c3c21853dff57c4c6a4e45d.tar
dexon-sol-tools-4fe28ec53c4e84544c3c21853dff57c4c6a4e45d.tar.gz
dexon-sol-tools-4fe28ec53c4e84544c3c21853dff57c4c6a4e45d.tar.bz2
dexon-sol-tools-4fe28ec53c4e84544c3c21853dff57c4c6a4e45d.tar.lz
dexon-sol-tools-4fe28ec53c4e84544c3c21853dff57c4c6a4e45d.tar.xz
dexon-sol-tools-4fe28ec53c4e84544c3c21853dff57c4c6a4e45d.tar.zst
dexon-sol-tools-4fe28ec53c4e84544c3c21853dff57c4c6a4e45d.zip
Make zeroEx.exchange.getContractAddress non-async
Diffstat (limited to 'packages/0x.js/test/artifacts_test.ts')
-rw-r--r--packages/0x.js/test/artifacts_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/0x.js/test/artifacts_test.ts b/packages/0x.js/test/artifacts_test.ts
index 1c36fb358..265a71715 100644
--- a/packages/0x.js/test/artifacts_test.ts
+++ b/packages/0x.js/test/artifacts_test.ts
@@ -29,7 +29,7 @@ describe('Artifacts', () => {
await (zeroEx.token as any)._getTokenTransferProxyAddressAsync();
}).timeout(TIMEOUT);
it('exchange contract is deployed', async () => {
- await zeroEx.exchange.getContractAddressAsync();
+ await (zeroEx.exchange as any)._getExchangeContractAsync();
}).timeout(TIMEOUT);
});
describe('contracts are deployed on ropsten', () => {
@@ -49,7 +49,7 @@ describe('Artifacts', () => {
await (zeroEx.token as any)._getTokenTransferProxyAddressAsync();
}).timeout(TIMEOUT);
it('exchange contract is deployed', async () => {
- await zeroEx.exchange.getContractAddressAsync();
+ await (zeroEx.exchange as any)._getExchangeContractAsync();
}).timeout(TIMEOUT);
});
});