So a bit of JavaScript 102... The other day we were writing a test to confirm that after a function runs, our store has emitted certain action. In summary:
test('correct actions', () => {
const expectedActions = ...
store.run(LOAD);
const actualActions = store.getActions();