diff options
author | Fabio Berger <me@fabioberger.com> | 2018-06-26 04:58:36 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-06-26 04:58:36 +0800 |
commit | 87d66ccf6cad43b58a3064dcc3a7e66eced84f66 (patch) | |
tree | e563679842c266ddcc4492af6054dbd22f94dd18 /packages/contract-wrappers/test/exchange_wrapper_test.ts | |
parent | 7ce1e9b18d30cb76dd61f3859164cb09d091a3dd (diff) | |
download | dexon-0x-contracts-87d66ccf6cad43b58a3064dcc3a7e66eced84f66.tar dexon-0x-contracts-87d66ccf6cad43b58a3064dcc3a7e66eced84f66.tar.gz dexon-0x-contracts-87d66ccf6cad43b58a3064dcc3a7e66eced84f66.tar.bz2 dexon-0x-contracts-87d66ccf6cad43b58a3064dcc3a7e66eced84f66.tar.lz dexon-0x-contracts-87d66ccf6cad43b58a3064dcc3a7e66eced84f66.tar.xz dexon-0x-contracts-87d66ccf6cad43b58a3064dcc3a7e66eced84f66.tar.zst dexon-0x-contracts-87d66ccf6cad43b58a3064dcc3a7e66eced84f66.zip |
Fix Tslint issues
Diffstat (limited to 'packages/contract-wrappers/test/exchange_wrapper_test.ts')
-rw-r--r-- | packages/contract-wrappers/test/exchange_wrapper_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/contract-wrappers/test/exchange_wrapper_test.ts b/packages/contract-wrappers/test/exchange_wrapper_test.ts index cf69d4813..c945b4c70 100644 --- a/packages/contract-wrappers/test/exchange_wrapper_test.ts +++ b/packages/contract-wrappers/test/exchange_wrapper_test.ts @@ -999,7 +999,7 @@ describe('ExchangeWrapper', () => { it('Outstanding subscriptions are cancelled when contractWrappers.setProvider called', (done: DoneCallback) => { (async () => { const callbackNeverToBeCalled = callbackErrorReporter.reportNodeCallbackErrors(done)( - (logEvent: DecodedLogEvent<LogFillContractEventArgs>) => { + (_logEvent: DecodedLogEvent<LogFillContractEventArgs>) => { done(new Error('Expected this subscription to have been cancelled')); }, ); @@ -1024,7 +1024,7 @@ describe('ExchangeWrapper', () => { it('Should cancel subscription when unsubscribe called', (done: DoneCallback) => { (async () => { const callbackNeverToBeCalled = callbackErrorReporter.reportNodeCallbackErrors(done)( - (logEvent: DecodedLogEvent<LogFillContractEventArgs>) => { + (_logEvent: DecodedLogEvent<LogFillContractEventArgs>) => { done(new Error('Expected this subscription to have been cancelled')); }, ); |