diff options
author | Fabio Berger <me@fabioberger.com> | 2017-11-11 21:58:01 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-11-11 21:58:01 +0800 |
commit | 041d00301c050a85ac7b41c7f367b319f09ed698 (patch) | |
tree | d7908f2b4db6c2ed14c1e956c65a3479d9317fca /test | |
parent | 0ec51b124bb6030cd59a57ab53444af452e0e674 (diff) | |
download | dexon-sol-tools-041d00301c050a85ac7b41c7f367b319f09ed698.tar dexon-sol-tools-041d00301c050a85ac7b41c7f367b319f09ed698.tar.gz dexon-sol-tools-041d00301c050a85ac7b41c7f367b319f09ed698.tar.bz2 dexon-sol-tools-041d00301c050a85ac7b41c7f367b319f09ed698.tar.lz dexon-sol-tools-041d00301c050a85ac7b41c7f367b319f09ed698.tar.xz dexon-sol-tools-041d00301c050a85ac7b41c7f367b319f09ed698.tar.zst dexon-sol-tools-041d00301c050a85ac7b41c7f367b319f09ed698.zip |
Fix type declaration in test
Diffstat (limited to 'test')
-rw-r--r-- | test/event_watcher_test.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/event_watcher_test.ts b/test/event_watcher_test.ts index 36153c207..98dab93b5 100644 --- a/test/event_watcher_test.ts +++ b/test/event_watcher_test.ts @@ -24,7 +24,7 @@ describe('EventWatcher', () => { let eventWatcher: EventWatcher; let web3Wrapper: Web3Wrapper; const numConfirmations = 0; - const logA = { + const logA: Web3.LogEntry = { address: '0x71d271f8b14adef568f8f28f1587ce7271ac4ca5', blockHash: null, blockNumber: null, @@ -32,9 +32,9 @@ describe('EventWatcher', () => { logIndex: null, topics: [], transactionHash: '0x004881d38cd4a8f72f1a0d68c8b9b8124504706041ff37019c1d1ed6bfda8e17', - transactionIndex: null, + transactionIndex: 0, }; - const logB = { + const logB: Web3.LogEntry = { address: '0x8d12a197cb00d4747a1fe03395095ce2a5cc6819', blockHash: null, blockNumber: null, @@ -42,9 +42,9 @@ describe('EventWatcher', () => { logIndex: null, topics: [ '0xf341246adaac6f497bc2a656f546ab9e182111d630394f0c57c710a59a2cb567' ], transactionHash: '0x01ef3c048b18d9b09ea195b4ed94cf8dd5f3d857a1905ff886b152cfb1166f25', - transactionIndex: null, + transactionIndex: 0, }; - const logC = { + const logC: Web3.LogEntry = { address: '0x1d271f8b174adef58f1587ce68f8f27271ac4ca5', blockHash: null, blockNumber: null, @@ -52,7 +52,7 @@ describe('EventWatcher', () => { logIndex: null, topics: [ '0xf341246adaac6f497bc2a656f546ab9e182111d630394f0c57c710a59a2cb567' ], transactionHash: '0x01ef3c048b18d9b09ea195b4ed94cf8dd5f3d857a1905ff886b152cfb1166f25', - transactionIndex: null, + transactionIndex: 0, }; before(async () => { web3 = web3Factory.create(); |