File tree Expand file tree Collapse file tree 1 file changed +18
-16
lines changed Expand file tree Collapse file tree 1 file changed +18
-16
lines changed Original file line number Diff line number Diff line change @@ -396,22 +396,24 @@ describe('Watch', () => {
396
396
397
397
const handlerError = new Error ( 'handler error' ) ;
398
398
399
- await watch . watch (
400
- path ,
401
- { } ,
402
- ( recievedType : string , recievedObject : string ) => {
403
- receivedTypes . push ( recievedType ) ;
404
- receivedObjects . push ( recievedObject ) ;
405
- throw handlerError ;
406
- } ,
407
- ( err : any ) => {
408
- doneCalled = true ;
409
- doneErr = err ;
410
- } ,
411
- ) . catch ( ( err ) => {
412
- catchCalled = true ;
413
- catchErr = err ;
414
- } ) ;
399
+ await watch
400
+ . watch (
401
+ path ,
402
+ { } ,
403
+ ( recievedType : string , recievedObject : string ) => {
404
+ receivedTypes . push ( recievedType ) ;
405
+ receivedObjects . push ( recievedObject ) ;
406
+ throw handlerError ;
407
+ } ,
408
+ ( err : any ) => {
409
+ doneCalled = true ;
410
+ doneErr = err ;
411
+ } ,
412
+ )
413
+ . catch ( ( err ) => {
414
+ catchCalled = true ;
415
+ catchErr = err ;
416
+ } ) ;
415
417
416
418
verify ( fakeRequestor . webRequest ( anything ( ) ) ) ;
417
419
You can’t perform that action at this time.
0 commit comments