| 1358 | let log: string[]; |
| 1359 | |
| 1360 | class ClassWithNextState { |
| 1361 | canDeactivate( |
| 1362 | component: TeamCmp, |
| 1363 | currentRoute: ActivatedRouteSnapshot, |
| 1364 | currentState: RouterStateSnapshot, |
| 1365 | nextState: RouterStateSnapshot, |
| 1366 | ): boolean { |
| 1367 | log.push(currentState.url, nextState.url); |
| 1368 | return true; |
| 1369 | } |
| 1370 | } |
| 1371 | |
| 1372 | beforeEach(() => { |
| 1373 | log = []; |
nothing calls this directly
no outgoing calls
no test coverage detected