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

Class TestComponent

packages/core/rxjs-interop/test/rx_resource_spec.ts:198–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196 });
197
198 @Component({template: '{{res.value()}}'})
199 class TestComponent {
200 res = rxResource({stream: () => EMPTY});
201 }
202
203 const fixture = TestBed.createComponent(TestComponent);
204 // No manual `fixture.detectChanges()` here: that call would surface the

Callers

nothing calls this directly

Calls 2

ComponentInterface · 0.90
rxResourceFunction · 0.90

Tested by

no test coverage detected