File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ import {
2424 NavigationError ,
2525 NavigationStart ,
2626} from '@angular/router' ;
27- import { Subscription , filter } from 'rxjs' ;
27+ import { filter } from 'rxjs' ;
2828import { CoreNavigator } from '@services/navigator' ;
2929
3030/**
@@ -39,7 +39,6 @@ export class TestingBehatBlockingService {
3939 protected lastMutation = 0 ;
4040 protected initialized = false ;
4141 protected keyIndex = 0 ;
42- protected navSubscription ?: Subscription ;
4342
4443 /**
4544 * Listen to mutations and override XML Requests.
@@ -60,7 +59,7 @@ export class TestingBehatBlockingService {
6059 win . M . util = win . M . util ?? { } ;
6160 win . M . util . pending_js = win . M . util . pending_js ?? [ ] ;
6261
63- this . navSubscription = Router . events
62+ Router . events
6463 . pipe ( filter ( event =>
6564 event instanceof NavigationStart ||
6665 event instanceof NavigationEnd ||
You can’t perform that action at this time.
0 commit comments