stable

Clone or download

Read-only

Ease Vuex store creation for specs

Part of story #12187 configure workflow pre & post actions at target state level No more useful to declare used actions, mutations and getters as mocks, it is done automatically. No more useful to build vuex store for each module, it is done automatically. Base store (store/index.js) and modules (transition-modal/module.js) export same object type: store options. Change-Id: I130d870e0be4bd04c10f54eceb34d5cfb939883d

Modified Files

Name
M .eslintrc.js +1 −1 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/components/BaseTrackerWorkflowTransitions.spec.js +14 −27 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/components/FirstConfigurationSections.spec.js +6 −13 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/components/TransitionMatrixContent.spec.js +20 −27 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/components/TransitionModal/PreConditionsSection.spec.js +22 −38 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/index.js +4 −2 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/store/index.js +2 −6 Go to diff View file
A plugins/tracker/www/scripts/workflow-transitions/src/support/store-wrapper.spec-helper.js +104 −0 Go to diff View file