aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-10-25 19:27:10 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-11-13 04:05:06 +0800
commit50ee23ebfa5270f98c64c8be5ba4a7061c47bc27 (patch)
tree8be0036bef63e9c15fd31744f0db303227af1e13 /test
parent719c51f61a65e3e179ba2a78fa48105247ba2b41 (diff)
downloaddexon-sol-tools-50ee23ebfa5270f98c64c8be5ba4a7061c47bc27.tar
dexon-sol-tools-50ee23ebfa5270f98c64c8be5ba4a7061c47bc27.tar.gz
dexon-sol-tools-50ee23ebfa5270f98c64c8be5ba4a7061c47bc27.tar.bz2
dexon-sol-tools-50ee23ebfa5270f98c64c8be5ba4a7061c47bc27.tar.lz
dexon-sol-tools-50ee23ebfa5270f98c64c8be5ba4a7061c47bc27.tar.xz
dexon-sol-tools-50ee23ebfa5270f98c64c8be5ba4a7061c47bc27.tar.zst
dexon-sol-tools-50ee23ebfa5270f98c64c8be5ba4a7061c47bc27.zip
Normalize the way we return the transaction status
Diffstat (limited to 'test')
-rw-r--r--test/token_wrapper_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/token_wrapper_test.ts b/test/token_wrapper_test.ts
index d9d0fb9ad..9b19bf26b 100644
--- a/test/token_wrapper_test.ts
+++ b/test/token_wrapper_test.ts
@@ -62,7 +62,7 @@ describe('TokenWrapper', () => {
const preBalance = await zeroEx.token.getBalanceAsync(token.address, toAddress);
expect(preBalance).to.be.bignumber.equal(0);
const txHash = await zeroEx.token.transferAsync(token.address, fromAddress, toAddress, transferAmount);
- await zeroEx.awaitTransactionMinedAsync(txHash);
+ const receipt = await zeroEx.awaitTransactionMinedAsync(txHash);
const postBalance = await zeroEx.token.getBalanceAsync(token.address, toAddress);
return expect(postBalance).to.be.bignumber.equal(transferAmount);
});