aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers/test/subscription_test.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-06-26 04:58:36 +0800
committerFabio Berger <me@fabioberger.com>2018-06-26 04:58:36 +0800
commit87d66ccf6cad43b58a3064dcc3a7e66eced84f66 (patch)
treee563679842c266ddcc4492af6054dbd22f94dd18 /packages/contract-wrappers/test/subscription_test.ts
parent7ce1e9b18d30cb76dd61f3859164cb09d091a3dd (diff)
downloaddexon-0x-contracts-87d66ccf6cad43b58a3064dcc3a7e66eced84f66.tar.gz
dexon-0x-contracts-87d66ccf6cad43b58a3064dcc3a7e66eced84f66.tar.zst
dexon-0x-contracts-87d66ccf6cad43b58a3064dcc3a7e66eced84f66.zip
Fix Tslint issues
Diffstat (limited to 'packages/contract-wrappers/test/subscription_test.ts')
-rw-r--r--packages/contract-wrappers/test/subscription_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/contract-wrappers/test/subscription_test.ts b/packages/contract-wrappers/test/subscription_test.ts
index 4d638bf9b..b9417ca3d 100644
--- a/packages/contract-wrappers/test/subscription_test.ts
+++ b/packages/contract-wrappers/test/subscription_test.ts
@@ -80,7 +80,7 @@ describe('SubscriptionTest', () => {
});
it('Should allow unsubscribeAll to be called successfully after an error', (done: DoneCallback) => {
(async () => {
- const callback = (err: Error | null, logEvent?: DecodedLogEvent<ApprovalContractEventArgs>) => _.noop;
+ const callback = (_err: Error | null, _logEvent?: DecodedLogEvent<ApprovalContractEventArgs>) => _.noop;
contractWrappers.token.subscribe(tokenAddress, TokenEvents.Approval, indexFilterValues, callback);
stubs = [
Sinon.stub((contractWrappers as any)._web3Wrapper, 'getBlockAsync').throws(