aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/test/token_wrapper_test.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-11-23 03:37:07 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-11-24 05:13:37 +0800
commita38ef3655b47228c2cc949d917636a19d7e0dddc (patch)
tree5f091e4942e702f714eed23c36adfc2f98c0b003 /packages/0x.js/test/token_wrapper_test.ts
parentc586d3e81d0b03f57924b4dc885bc97d152b09e2 (diff)
downloaddexon-0x-contracts-a38ef3655b47228c2cc949d917636a19d7e0dddc.tar.gz
dexon-0x-contracts-a38ef3655b47228c2cc949d917636a19d7e0dddc.tar.zst
dexon-0x-contracts-a38ef3655b47228c2cc949d917636a19d7e0dddc.zip
Remove even more asyncs
Diffstat (limited to 'packages/0x.js/test/token_wrapper_test.ts')
-rw-r--r--packages/0x.js/test/token_wrapper_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/0x.js/test/token_wrapper_test.ts b/packages/0x.js/test/token_wrapper_test.ts
index 170dae6a6..b07fed045 100644
--- a/packages/0x.js/test/token_wrapper_test.ts
+++ b/packages/0x.js/test/token_wrapper_test.ts
@@ -436,10 +436,10 @@ describe('TokenWrapper', () => {
toBlock: BlockParamLiteral.Latest,
};
let txHash: string;
- before(async () => {
+ before(() => {
const token = tokens[0];
tokenAddress = token.address;
- tokenTransferProxyAddress = await zeroEx.proxy.getContractAddressAsync();
+ tokenTransferProxyAddress = zeroEx.proxy.getContractAddress();
});
it('should get logs with decoded args emitted by Approval', async () => {
txHash = await zeroEx.token.setUnlimitedProxyAllowanceAsync(tokenAddress, coinbase);