Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ngOnInit() {
- this.store.dispatch(new LoadPropertiesRequested());
- this.properties$ = this.store.pipe(select(selectAllProperties));
- this.loading$ = this.store.pipe(select(selectPropertiesLoading));
- this.logs$ = this.store.pipe(select(selectPropertiesLogs));
- }
- beforeEach(async(() => {
- TestBed.configureTestingModule({
- imports: [
- StoreModule.forRoot({
- ...fromRoot.reducers,
- feature: combineReducers(fromProperties.reducer),
- })
- ],
- declarations: [
- SidebarPropertiesComponent,
- SidebarElementComponent
- ]
- })
- .compileComponents();
- }));
Add Comment
Please, Sign In to add comment