code: function createStore(ClonedVue, rawModules, state) {
      let Vuex = require('vuex');
  
      if (typeof Vuex.default !== 'undefined') {
          Vuex = Vuex.default;
      }
  
      ClonedVue.use(Vuex);
  
      // create a normalized copy of our vuex modules
      const normalizedModules = normalizeModules(rawModules);
  
      // merge in any test specific state
      const modules = mergeTestState(normalizedModules, state);
  
      // return the instantiated vuex store
      return new Vuex.Store({ state, modules, strict: true });
  }
docs: helper function to create a vuex store instance