UNPKG

@harmowatch/ngx-redux-core

Version:

[![Join the chat at https://gitter.im/harmowatch/ngx-redux-core](https://badges.gitter.im/harmowatch/ngx-redux-core.svg)](https://gitter.im/harmowatch/ngx-redux-core?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

14 lines (13 loc) 590 B
import { Action, Store, Unsubscribe } from 'redux'; import { Type } from '@angular/core'; import { ReduxRootState } from '../interfaces/redux-root-state.interface'; import { ReduxStateProvider } from '../providers/redux-state.provider'; export declare class ReduxTestingStore implements Store<{}> { private state; static factory(): ReduxTestingStore; setState<S>(state: Type<ReduxStateProvider>, value: S): Promise<ReduxRootState>; getState(): {}; subscribe(listener: () => void): Unsubscribe; replaceReducer(): void; dispatch<T extends Action>(action: T): T; }