File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 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.
2828 - [ localVue] ( api/options.md#localvue )
2929 - [ attachToDocument] ( api/options.md#attachtodocument )
3030 - [ attrs] ( api/options.md#attrs )
31+ - [ propsData] ( api/options.md#propsdata )
3132 - [ listeners] ( api/options.md#listeners )
3233 - [ parentComponent] ( api/options.md#parentComponent )
3334 - [ 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.
211211
212212- type: ` Object `
213213
214- Set the component instance's props.
214+ Set the component instance's props when the component is mounted.
215215
216216Example:
217217
@@ -230,7 +230,8 @@ expect(wrapper.text()).toBe('aBC')
230230
231231::: tip
232232It'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 ) .
234235:::
235236
236237## listeners
You can’t perform that action at this time.
0 commit comments