aboutsummaryrefslogtreecommitdiffstats
path: root/test/token_wrapper_test.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-10-04 00:05:44 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-10-04 16:14:20 +0800
commit451ded4963aaaa40ff4d00bcb0d589b06b45ce24 (patch)
treed7c0a8aee987531fddf45f78c0309559acc73a33 /test/token_wrapper_test.ts
parent837618c7a016b9b66d70f3c0e9682c97a9d4cf8a (diff)
downloaddexon-sol-tools-451ded4963aaaa40ff4d00bcb0d589b06b45ce24.tar
dexon-sol-tools-451ded4963aaaa40ff4d00bcb0d589b06b45ce24.tar.gz
dexon-sol-tools-451ded4963aaaa40ff4d00bcb0d589b06b45ce24.tar.bz2
dexon-sol-tools-451ded4963aaaa40ff4d00bcb0d589b06b45ce24.tar.lz
dexon-sol-tools-451ded4963aaaa40ff4d00bcb0d589b06b45ce24.tar.xz
dexon-sol-tools-451ded4963aaaa40ff4d00bcb0d589b06b45ce24.tar.zst
dexon-sol-tools-451ded4963aaaa40ff4d00bcb0d589b06b45ce24.zip
Add tests for zeroEx.exchange.getLogsAsync
Diffstat (limited to 'test/token_wrapper_test.ts')
-rw-r--r--test/token_wrapper_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/token_wrapper_test.ts b/test/token_wrapper_test.ts
index aacd9de40..7cd33057b 100644
--- a/test/token_wrapper_test.ts
+++ b/test/token_wrapper_test.ts
@@ -455,7 +455,7 @@ describe('TokenWrapper', () => {
const eventName = TokenEvents.Approval;
const logs = await zeroEx.token.getLogsAsync(
tokenAddress, eventName, subscriptionOpts, indexFilterValues,
- ) as LogWithDecodedArgs[];
+ );
expect(logs).to.have.length(1);
expect(logs[0].event).to.be.equal(eventName);
expect(logs[0].args._owner).to.be.equal(coinbase);
@@ -468,7 +468,7 @@ describe('TokenWrapper', () => {
const differentEventName = TokenEvents.Transfer;
const logs = await zeroEx.token.getLogsAsync(
tokenAddress, differentEventName, subscriptionOpts, indexFilterValues,
- ) as LogWithDecodedArgs[];
+ );
expect(logs).to.have.length(0);
});
});