MCPcopy
hub / github.com/rx-angular/rx-angular / TestComponent

Class TestComponent

libs/state/spec/rx-state.spec.ts:425–433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

423 template?: string,
424) {
425 @Component({
426 template,
427 })
428 class TestComponent implements ITestComponent<State> {
429 readonly state = rxState<State>(setupFn);
430
431 readonly count$ = this.state.select('count');
432 readonly count = this.state.signal('count');
433 }
434
435 TestBed.configureTestingModule({
436 imports: [TestComponent],

Callers

nothing calls this directly

Calls 3

rxStateFunction · 0.90
signalMethod · 0.80
selectMethod · 0.45

Tested by

no test coverage detected