Skip to content

Commit 709ab99

Browse files
committed
test: remove duplicate test (accidentally included)
1 parent 086f8ae commit 709ab99

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

test/integration/specs/create-local-vue.js renamed to test/integration/specs/create-local-vue.spec.js

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -22,25 +22,6 @@ describe('createLocalVue', () => {
2222
expect(typeof freshWrapper.vm.$store).to.equal('undefined')
2323
})
2424

25-
it('installs Vuex without polluting global Vue', () => {
26-
const localVue = createLocalVue()
27-
Vuex.installed = false
28-
Vuex.forceInstall = true
29-
localVue.use(Vuex)
30-
const store = new Vuex.Store({
31-
state: {
32-
test: 0
33-
},
34-
mutations: {
35-
increment () {}
36-
}
37-
})
38-
const wrapper = mount(Component, { localVue, store })
39-
expect(wrapper.vm.$store).to.be.an('object')
40-
const freshWrapper = mount(Component)
41-
expect(typeof freshWrapper.vm.$store).to.equal('undefined')
42-
})
43-
4425
it('installs Router without polluting global Vue', () => {
4526
const localVue = createLocalVue()
4627
localVue.use(VueRouter)

0 commit comments

Comments
 (0)