MCPcopy Index your code
hub / github.com/angular/angular / AlwaysTrue

Class AlwaysTrue

packages/router/test/integration/guards.spec.ts:187–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185
186 describe('should work when given a class', () => {
187 class AlwaysTrue {
188 canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean {
189 return true;
190 }
191 }
192
193 beforeEach(() => {
194 TestBed.configureTestingModule({providers: [AlwaysTrue]});

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…