diff options
author | Fabio Berger <me@fabioberger.com> | 2018-06-12 05:42:30 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-06-12 05:42:30 +0800 |
commit | e1879ef4d91fc58203d9748eca38695b79c43674 (patch) | |
tree | 0a9a68927d5dc769b0c5cb2c5d9445849fb56e7c /packages/order-watcher/test/expiration_watcher_test.ts | |
parent | b6df727efb74084a849330273a44cfc5ae3a85af (diff) | |
download | dexon-0x-contracts-e1879ef4d91fc58203d9748eca38695b79c43674.tar dexon-0x-contracts-e1879ef4d91fc58203d9748eca38695b79c43674.tar.gz dexon-0x-contracts-e1879ef4d91fc58203d9748eca38695b79c43674.tar.bz2 dexon-0x-contracts-e1879ef4d91fc58203d9748eca38695b79c43674.tar.lz dexon-0x-contracts-e1879ef4d91fc58203d9748eca38695b79c43674.tar.xz dexon-0x-contracts-e1879ef4d91fc58203d9748eca38695b79c43674.tar.zst dexon-0x-contracts-e1879ef4d91fc58203d9748eca38695b79c43674.zip |
Fix no-unused-variable tslint rule to include parameters and fix issues
Diffstat (limited to 'packages/order-watcher/test/expiration_watcher_test.ts')
-rw-r--r-- | packages/order-watcher/test/expiration_watcher_test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/order-watcher/test/expiration_watcher_test.ts b/packages/order-watcher/test/expiration_watcher_test.ts index 068c267c3..fbea93c06 100644 --- a/packages/order-watcher/test/expiration_watcher_test.ts +++ b/packages/order-watcher/test/expiration_watcher_test.ts @@ -107,7 +107,7 @@ describe('ExpirationWatcher', () => { ); const orderHash = getOrderHashHex(signedOrder); expirationWatcher.addOrder(orderHash, signedOrder.expirationUnixTimestampSec.times(MILISECONDS_IN_SECOND)); - const callbackAsync = callbackErrorReporter.reportNoErrorCallbackErrors(done)(async (hash: string) => { + const callbackAsync = callbackErrorReporter.reportNoErrorCallbackErrors(done)(async (_hash: string) => { done(new Error('Emitted expiration went before the order actually expired')); }); expirationWatcher.subscribe(callbackAsync); |