Skip to content

WIP: Update testAction to reject return values

What does this MR do?

This MR updates our vuex_test_action_helper to fail actions that return any data. It's okay if actions return promises (this is a native behavior of Vuex), but when actions returning data can ruin the separation of concerns which Vuex is meant to create. Well behaved Vuex clients don't read from the response of actions, they react to state changes.

Edited by Wayne Haber

Merge request reports