1 | import { Store, Unsubscribe } from 'redux';
|
2 |
|
3 | export class FakeStore implements Store<any> {
|
4 | public dispatch(): any {
|
5 | return () => { /* noop */ };
|
6 | }
|
7 | public getState(): any {
|
8 | return {};
|
9 | }
|
10 |
|
11 | public subscribe(): Unsubscribe {
|
12 | return () => { /* noop */ };
|
13 | }
|
14 | public replaceReducer(): void {
|
15 | /* noop */
|
16 | }
|
17 | } |
\ | No newline at end of file |