| 1298 | let log: string[]; |
| 1299 | |
| 1300 | class ClassWithNextState { |
| 1301 | canDeactivate( |
| 1302 | component: TeamCmp, |
| 1303 | currentRoute: ActivatedRouteSnapshot, |
| 1304 | currentState: RouterStateSnapshot, |
| 1305 | nextState: RouterStateSnapshot, |
| 1306 | ): boolean { |
| 1307 | log.push(currentState.url, nextState.url); |
| 1308 | return true; |
| 1309 | } |
| 1310 | } |
| 1311 | |
| 1312 | beforeEach(() => { |
| 1313 | log = []; |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…