@@ -153,8 +153,7 @@ describe('AbstractContractTest', () => {
153
153
} ) ;
154
154
155
155
const options = { fromBlock : true } ;
156
- abstractContract . once ( 'event' , options , ( ) => {
157
- } ) ;
156
+ abstractContract . once ( 'event' , options , ( ) => { } ) ;
158
157
159
158
expect ( eventSubscriptionMock . unsubscribe ) . toHaveBeenCalled ( ) ;
160
159
@@ -174,8 +173,7 @@ describe('AbstractContractTest', () => {
174
173
175
174
methodFactoryMock . createPastEventLogsMethod . mockReturnValueOnce ( getPastLogsMethodMock ) ;
176
175
177
- await expect ( abstractContract . getPastEvents ( 'eventName' , { } , ( ) => {
178
- } ) ) . resolves . toEqual ( true ) ;
176
+ await expect ( abstractContract . getPastEvents ( 'eventName' , { } , ( ) => { } ) ) . resolves . toEqual ( true ) ;
179
177
180
178
expect ( abiModelMock . hasEvent ) . toHaveBeenCalledWith ( 'eventName' ) ;
181
179
@@ -197,8 +195,7 @@ describe('AbstractContractTest', () => {
197
195
198
196
methodFactoryMock . createAllPastEventLogsMethod . mockReturnValueOnce ( getPastLogsMethodMock ) ;
199
197
200
- await expect ( abstractContract . getPastEvents ( 'allEvents' , { } , ( ) => {
201
- } ) ) . resolves . toEqual ( true ) ;
198
+ await expect ( abstractContract . getPastEvents ( 'allEvents' , { } , ( ) => { } ) ) . resolves . toEqual ( true ) ;
202
199
203
200
expect ( getPastLogsMethodMock . execute ) . toHaveBeenCalled ( ) ;
204
201
@@ -212,8 +209,7 @@ describe('AbstractContractTest', () => {
212
209
it ( 'calls getPastEvents and returns a rejected promise' , async ( ) => {
213
210
abiModelMock . hasEvent . mockReturnValueOnce ( false ) ;
214
211
215
- await expect ( abstractContract . getPastEvents ( 'eventName' , { } , ( ) => {
216
- } ) ) . rejects . toThrow (
212
+ await expect ( abstractContract . getPastEvents ( 'eventName' , { } , ( ) => { } ) ) . rejects . toThrow (
217
213
'Event with name "eventName" does not exists.'
218
214
) ;
219
215
0 commit comments