diff options
author | Fabio Berger <me@fabioberger.com> | 2017-11-13 10:24:00 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-13 10:24:00 +0800 |
commit | a74ec0effa818a86233fe64cb0dad2c61bbb4bb6 (patch) | |
tree | 24438eda01318a80b5cbc7f1939d1640764a9859 /test | |
parent | b0be323e899ea7be42b6c695b4fd6d526070b213 (diff) | |
parent | e33027c6244b99a1fb181404668bd2a259d923e2 (diff) | |
download | dexon-sol-tools-a74ec0effa818a86233fe64cb0dad2c61bbb4bb6.tar.gz dexon-sol-tools-a74ec0effa818a86233fe64cb0dad2c61bbb4bb6.tar.zst dexon-sol-tools-a74ec0effa818a86233fe64cb0dad2c61bbb4bb6.zip |
Merge pull request #200 from 0xProject/feature/receipt-status
Normalize the way we return the transaction status
Diffstat (limited to 'test')
-rw-r--r-- | test/token_wrapper_test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/token_wrapper_test.ts b/test/token_wrapper_test.ts index 40652d03c..b30762e8c 100644 --- a/test/token_wrapper_test.ts +++ b/test/token_wrapper_test.ts @@ -63,7 +63,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); }); |