Ver código fonte

import commonjs build for unit test

ktsn 8 anos atrás
pai
commit
45c471c491

+ 1 - 1
test/unit/helpers.spec.js

@@ -1,5 +1,5 @@
 import Vue from 'vue/dist/vue.common.js'
-import Vuex, { mapState, mapMutations, mapGetters, mapActions } from '../../dist/vuex.js'
+import Vuex, { mapState, mapMutations, mapGetters, mapActions } from '../../dist/vuex.common.js'
 
 describe('Helpers', () => {
   it('mapState (array)', () => {

+ 1 - 1
test/unit/hot-reload.spec.js

@@ -1,5 +1,5 @@
 import Vue from 'vue/dist/vue.common.js'
-import Vuex from '../../dist/vuex.js'
+import Vuex from '../../dist/vuex.common.js'
 
 const TEST = 'TEST'
 

+ 1 - 1
test/unit/modules.spec.js

@@ -1,5 +1,5 @@
 import Vue from 'vue'
-import Vuex from '../../dist/vuex.js'
+import Vuex from '../../dist/vuex.common.js'
 
 const TEST = 'TEST'
 

+ 1 - 1
test/unit/setup.js

@@ -1,5 +1,5 @@
 import 'babel-polyfill'
 import Vue from 'vue/dist/vue.common.js'
-import Vuex from '../../dist/vuex.js'
+import Vuex from '../../dist/vuex.common.js'
 
 Vue.use(Vuex)

+ 1 - 1
test/unit/store.spec.js

@@ -1,5 +1,5 @@
 import Vue from 'vue/dist/vue.common.js'
-import Vuex from '../../dist/vuex.js'
+import Vuex from '../../dist/vuex.common.js'
 
 const TEST = 'TEST'