score:0

Accepted answer
const initialState = {
    users: []
};

const ga_food_upload = (state= initialState, action) => {
// some code
}

score:1

let store, wrapper

beforeEach(() => {
  const [newStore, newWrapper] = mountGk(...)
  store = newStore
  wrapper = newWrapper
})

it('does something', () => {
  store.dispatch(...)
})

Related Query

More Query from same tag