File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ Vue Test Utils is the official unit testing utility library for Vue.js.
28
28
- [ localVue] ( api/options.md#localvue )
29
29
- [ attachToDocument] ( api/options.md#attachtodocument )
30
30
- [ attrs] ( api/options.md#attrs )
31
+ - [ propsData] ( api/options.md#propsdata )
31
32
- [ listeners] ( api/options.md#listeners )
32
33
- [ parentComponent] ( api/options.md#parentComponent )
33
34
- [ provide] ( api/options.md#provide )
Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ Set the component instance's `$attrs` object.
211
211
212
212
- type: ` Object `
213
213
214
- Set the component instance's props.
214
+ Set the component instance's props when the component is mounted.
215
215
216
216
Example:
217
217
@@ -230,7 +230,8 @@ expect(wrapper.text()).toBe('aBC')
230
230
231
231
::: tip
232
232
It's worth noting that ` propsData ` is actually a [ Vue API] ( https://vuejs.org/v2/api/#propsData ) , not a
233
- ` vue-test-utils ` option. It is processed through [ ` extends ` ] ( #other-options ) .
233
+ Vue Test Utils mounting option. It is processed through [ ` extends ` ] ( https://vuejs.org/v2/api/#extends ) .
234
+ Please see [ Other options] ( #other-options ) .
234
235
:::
235
236
236
237
## listeners
You can’t perform that action at this time.
0 commit comments