aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/test
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-11-22 03:09:23 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-11-22 03:09:23 +0800
commitc8c95b4bd2e57be11bd250c652babbad9d6ffd35 (patch)
tree9bbbb5894ff2ff5a537fa7852dada50f6795ab08 /packages/0x.js/test
parent037f466e1f80f635b48f3235258402e2ce75fb7b (diff)
downloaddexon-sol-tools-c8c95b4bd2e57be11bd250c652babbad9d6ffd35.tar
dexon-sol-tools-c8c95b4bd2e57be11bd250c652babbad9d6ffd35.tar.gz
dexon-sol-tools-c8c95b4bd2e57be11bd250c652babbad9d6ffd35.tar.bz2
dexon-sol-tools-c8c95b4bd2e57be11bd250c652babbad9d6ffd35.tar.lz
dexon-sol-tools-c8c95b4bd2e57be11bd250c652babbad9d6ffd35.tar.xz
dexon-sol-tools-c8c95b4bd2e57be11bd250c652babbad9d6ffd35.tar.zst
dexon-sol-tools-c8c95b4bd2e57be11bd250c652babbad9d6ffd35.zip
Add postFormatter for logs
Diffstat (limited to 'packages/0x.js/test')
-rw-r--r--packages/0x.js/test/token_wrapper_test.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/0x.js/test/token_wrapper_test.ts b/packages/0x.js/test/token_wrapper_test.ts
index b30762e8c..07276877d 100644
--- a/packages/0x.js/test/token_wrapper_test.ts
+++ b/packages/0x.js/test/token_wrapper_test.ts
@@ -361,6 +361,8 @@ describe('TokenWrapper', () => {
(async () => {
const callback = (err: Error, logEvent: DecodedLogEvent<TransferContractEventArgs>) => {
expect(logEvent).to.not.be.undefined();
+ expect(logEvent.logIndex).to.be.equal(0);
+ expect(logEvent.transactionIndex).to.be.equal(0);
const args = logEvent.args;
expect(args._from).to.be.equal(coinbase);
expect(args._to).to.be.equal(addressWithoutFunds);