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

Class ConfigurableGuard

packages/router/test/standalone.spec.ts:73–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71 describe('route providers', () => {
72 it('can provide a guard on a route', async () => {
73 @Injectable()
74 class ConfigurableGuard {
75 static canActivateValue = false;
76 canActivate() {
77 return ConfigurableGuard.canActivateValue;
78 }
79 }
80
81 TestBed.configureTestingModule({
82 imports: [

Callers

nothing calls this directly

Calls 1

InjectableInterface · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…