Skip to content

Make stores export a createStore() which can be used in tests

Inactive Account requested to merge winh-vuex-createStore-docs into master

What does this MR do?

Add a createStore() to the Vuex docs.

Why was this MR needed?

In https://gitlab.com/gitlab-org/gitlab-ce/issues/42882, several test files reused the same store instance leading to unexpected side effects.

Merge request reports