aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/test/exchange_wrapper_test.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-11-22 06:50:14 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-11-24 05:13:36 +0800
commit63dc606a9c08dad5e0aae09b86178fcd3e78e867 (patch)
tree1b82eb0d3da14ab22d614d69338623086214c3db /packages/0x.js/test/exchange_wrapper_test.ts
parent131236305bff6cdf85a7edb7e3c61c50ffbb1956 (diff)
downloaddexon-0x-contracts-63dc606a9c08dad5e0aae09b86178fcd3e78e867.tar.gz
dexon-0x-contracts-63dc606a9c08dad5e0aae09b86178fcd3e78e867.tar.zst
dexon-0x-contracts-63dc606a9c08dad5e0aae09b86178fcd3e78e867.zip
Make getZRXTokenAddress non async
Diffstat (limited to 'packages/0x.js/test/exchange_wrapper_test.ts')
-rw-r--r--packages/0x.js/test/exchange_wrapper_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/0x.js/test/exchange_wrapper_test.ts b/packages/0x.js/test/exchange_wrapper_test.ts
index 773829b4e..5d1ff8f50 100644
--- a/packages/0x.js/test/exchange_wrapper_test.ts
+++ b/packages/0x.js/test/exchange_wrapper_test.ts
@@ -744,8 +744,8 @@ describe('ExchangeWrapper', () => {
});
});
describe('#getZRXTokenAddressAsync', () => {
- it('gets the same token as is in token registry', async () => {
- const zrxAddress = await zeroEx.exchange.getZRXTokenAddressAsync();
+ it('gets the same token as is in token registry', () => {
+ const zrxAddress = zeroEx.exchange.getZRXTokenAddress();
const zrxToken = tokenUtils.getProtocolTokenOrThrow();
expect(zrxAddress).to.equal(zrxToken.address);
});