File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ interface MountOptions<V extends Vue> extends ComponentOptions<V> {
85
85
localVue ?: typeof Vue
86
86
intercept ?: object
87
87
slots ?: Slots
88
- stub ?: Stubs
88
+ stubs ?: Stubs
89
89
}
90
90
91
91
type ShallowOptions < V extends Vue > = MountOptions < V >
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ mount<ClassComponent>(ClassComponent, {
34
34
foo : [ normalOptions , functionalOptions ] ,
35
35
bar : ClassComponent
36
36
} ,
37
- stub : {
37
+ stubs : {
38
38
foo : normalOptions ,
39
39
bar : functionalOptions ,
40
40
baz : ClassComponent ,
@@ -46,7 +46,7 @@ mount(functionalOptions, {
46
46
context : {
47
47
props : { foo : 'test' }
48
48
} ,
49
- stub : [ 'child' ]
49
+ stubs : [ 'child' ]
50
50
} )
51
51
52
52
/**
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ shallow<ClassComponent>(ClassComponent, {
34
34
foo : [ normalOptions , functionalOptions ] ,
35
35
baz : ClassComponent
36
36
} ,
37
- stub : {
37
+ stubs : {
38
38
foo : normalOptions ,
39
39
bar : functionalOptions ,
40
40
baz : ClassComponent ,
@@ -46,7 +46,7 @@ shallow(functionalOptions, {
46
46
context : {
47
47
props : { foo : 'test' }
48
48
} ,
49
- stub : [ 'child' ]
49
+ stubs : [ 'child' ]
50
50
} )
51
51
52
52
/**
You can’t perform that action at this time.
0 commit comments