diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-09-04 22:57:22 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-09-04 22:57:22 +0800 |
commit | 1c2d4cbb1af9a5d4442857def622dc8068086953 (patch) | |
tree | e5d1b052042cdb817d5d6e298ed583fd07e518c1 | |
parent | 9818eb2835a8c06006514c44340c95c709f4aa9f (diff) | |
download | dexon-sol-tools-1c2d4cbb1af9a5d4442857def622dc8068086953.tar.gz dexon-sol-tools-1c2d4cbb1af9a5d4442857def622dc8068086953.tar.zst dexon-sol-tools-1c2d4cbb1af9a5d4442857def622dc8068086953.zip |
Fix tests descriptions
-rw-r--r-- | test/token_wrapper_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/token_wrapper_test.ts b/test/token_wrapper_test.ts index 88833e612..e4223ffc7 100644 --- a/test/token_wrapper_test.ts +++ b/test/token_wrapper_test.ts @@ -356,7 +356,7 @@ describe('TokenWrapper', () => { // we do need both. A hack is to make the top-level a sync fn w/ a done callback and then // wrap the rest of the test in an async block // Source: https://github.com/mochajs/mocha/issues/2407 - it('Should receive the Transfer event when an order is filled', (done: DoneCallback) => { + it('Should receive the Transfer event when tokens are transfered', (done: DoneCallback) => { (async () => { const zeroExEvent = await zeroEx.token.subscribeAsync( tokenAddress, TokenEvents.Transfer, subscriptionOpts, indexFilterValues); @@ -372,7 +372,7 @@ describe('TokenWrapper', () => { await zeroEx.token.transferAsync(tokenAddress, coinbase, addressWithoutFunds, transferAmount); })().catch(done); }); - it('Should receive the Approval event when an order is cancelled', (done: DoneCallback) => { + it('Should receive the Approval event when allowance is being set', (done: DoneCallback) => { (async () => { const zeroExEvent = await zeroEx.token.subscribeAsync( tokenAddress, TokenEvents.Approval, subscriptionOpts, indexFilterValues); |