File tree 2 files changed +2
-4
lines changed
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ export default class VueWrapper extends Wrapper implements BaseWrapper {
28
28
setWatchersToSync ( vm )
29
29
orderWatchers ( vm )
30
30
}
31
- this . isVm = true
32
31
this . isFunctionalComponent = vm . $options . _isFunctionalContainer
33
32
this . _emitted = vm . __emitted
34
33
this . _emittedByOrder = vm . __emittedByOrder
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ export default class Wrapper implements BaseWrapper {
27
27
+ vm : Component | void ;
28
28
_emitted : { [ name : string ] : Array < Array < any > > } ;
29
29
_emittedByOrder: Array < { name : string , args : Array < any > } > ;
30
- isVm: boolean ;
31
30
+ element : Element ;
32
31
update: Function ;
33
32
+ options : WrapperOptions ;
@@ -446,7 +445,7 @@ export default class Wrapper implements BaseWrapper {
446
445
* Checks if wrapper is a vue instance
447
446
*/
448
447
isVueInstance ( ) : boolean {
449
- return ! ! this . isVm
448
+ return ! ! this . vm
450
449
}
451
450
452
451
/**
@@ -640,7 +639,7 @@ export default class Wrapper implements BaseWrapper {
640
639
`functional component`
641
640
)
642
641
}
643
- if ( ! this . isVm ) {
642
+ if ( ! this . vm ) {
644
643
throwError (
645
644
`wrapper.setProps() can only be called on a Vue ` +
646
645
`instance`
You can’t perform that action at this time.
0 commit comments