File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -22,25 +22,6 @@ describe('createLocalVue', () => {
22
22
expect ( typeof freshWrapper . vm . $store ) . to . equal ( 'undefined' )
23
23
} )
24
24
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
-
44
25
it ( 'installs Router without polluting global Vue' , ( ) => {
45
26
const localVue = createLocalVue ( )
46
27
localVue . use ( VueRouter )
You can’t perform that action at this time.
0 commit comments