Make stores export a createStore() which can be used in tests
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.