MCPcopy Create free account
hub / github.com/angular/angular / AlwaysTrue

Class AlwaysTrue

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected