diff --git a/flux/flux-tests.ts b/flux/flux-tests.ts index 0fe6e13d1..4c83c8e1c 100644 --- a/flux/flux-tests.ts +++ b/flux/flux-tests.ts @@ -107,15 +107,18 @@ class CounterStore extends FluxUtils.ReduceStore { } } +var Disaptcher: any; +const Store = new CounterStore(Dispatcher); + // Sample Flux container with CounterStore class CounterContainer extends Component { static getStores() { - return [CounterStore]; + return [Store]; } static calculateState(prevState: any) { return { - counter: CounterStore.getState(), + counter: Store.getState(), }; }