File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
import { createLocalVue } from '~vue/test-utils'
2
- import { describeWithShallowAndMount } from '~resources/utils'
2
+ import { describeWithShallowAndMount , vueVersion } from '~resources/utils'
3
3
import { itDoNotRunIf } from 'conditional-specs'
4
4
import Vue from 'vue'
5
5
@@ -106,7 +106,7 @@ describeWithShallowAndMount('emitted', mountingMethod => {
106
106
} )
107
107
108
108
itDoNotRunIf (
109
- mountingMethod . name === 'shallowMount' ,
109
+ mountingMethod . name === 'shallowMount' || vueVersion < 2.3 ,
110
110
'works correctly on nested extended components' , ( ) => {
111
111
const GrandChildComponent = Vue . extend ( {
112
112
template : '<div />' ,
@@ -132,7 +132,7 @@ describeWithShallowAndMount('emitted', mountingMethod => {
132
132
} )
133
133
134
134
itDoNotRunIf (
135
- mountingMethod . name === 'shallowMount' ,
135
+ mountingMethod . name === 'shallowMount' || vueVersion < 2.3 ,
136
136
'works correctly on nested extended components inside extended component' , ( ) => {
137
137
const GrandChildComponent = Vue . extend ( {
138
138
template : '<div />' ,
You can’t perform that action at this time.
0 commit comments