aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers/test/subscription_test.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-07-05 06:38:15 +0800
committerFabio Berger <me@fabioberger.com>2018-07-05 06:38:15 +0800
commita0b9c7777b2171456a19aa6ddcf2a023b663a816 (patch)
treeb9cf9fe6d0030bf0e2591d3facccf38ff2d622c6 /packages/contract-wrappers/test/subscription_test.ts
parent5204e4c08da7d32012047ee6ca4d898b0c45a47d (diff)
parent5176d929fa6d3c6ce414448ea2441bd450f04e3c (diff)
downloaddexon-0x-contracts-a0b9c7777b2171456a19aa6ddcf2a023b663a816.tar.gz
dexon-0x-contracts-a0b9c7777b2171456a19aa6ddcf2a023b663a816.tar.zst
dexon-0x-contracts-a0b9c7777b2171456a19aa6ddcf2a023b663a816.zip
merge v2-prototype
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(