File tree Expand file tree Collapse file tree 4 files changed +21
-9
lines changed Expand file tree Collapse file tree 4 files changed +21
-9
lines changed Original file line number Diff line number Diff line change 2727 - [ attrs] ( api/options.md#attrs )
2828 - [ listeners] ( api/options.md#listeners )
2929 - [ provide] ( api/options.md#provide )
30+ - [ sync] ( api/options.md#sync )
3031 - [ その他のオプション] ( api/options.md#その他のオプション )
3132 * [ Wrapper] ( api/wrapper/README.md )
3233 * [ attributes] ( api/wrapper/attributes.md )
Original file line number Diff line number Diff line change 2525 - [ attrs] ( api/options.md#attrs )
2626 - [ listeners] ( api/options.md#listeners )
2727 - [ provide] ( api/options.md#provide )
28+ - [ sync] ( api/options.md#sync )
2829 - [ その他のオプション] ( api/options.md#その他のオプション )
2930 * [ Wrapper] ( api/wrapper/README.md )
3031 * [ attributes] ( api/wrapper/attributes.md )
Original file line number Diff line number Diff line change 1313 - [ attrs] ( ./options.md#attrs )
1414 - [ listeners] ( ./options.md#listeners )
1515 - [ provide] ( ./options.md#provide )
16+ - [ sync] ( ./options.md#sync )
1617 - [ その他のオプション] ( ./options.md#その他のオプション )
1718* [ Wrapper] ( ./wrapper/README.md )
1819 * [ attributes] ( ./wrapper/attributes.md )
Original file line number Diff line number Diff line change 44
55## ` vue-test-utils ` の詳細なマウンティングオプション
66
7- - [ context] ( #context )
8- - [ slots] ( #slots )
9- - [ stubs] ( #stubs )
10- - [ mocks] ( #mocks )
11- - [ localVue] ( #localvue )
12- - [ attachToDocument] ( #attachtodocument )
13- - [ attrs] ( #attrs )
14- - [ listeners] ( #listeners )
15- - [ provide] ( #provide )
7+ - [ ` context ` ] ( #context )
8+ - [ ` slots ` ] ( #slots )
9+ - [ ` stubs ` ] ( #stubs )
10+ - [ ` mocks ` ] ( #mocks )
11+ - [ ` localVue ` ] ( #localvue )
12+ - [ ` attachToDocument ` ] ( #attachtodocument )
13+ - [ ` attrs ` ] ( #attrs )
14+ - [ ` listeners ` ] ( #listeners )
15+ - [ ` provide ` ] ( #provide )
16+ - [ ` sync ` ] ( #sync )
1617
1718### ` context `
1819
@@ -159,6 +160,14 @@ expect(wrapper.vm.$route).toBeInstanceOf(Object)
159160
160161コンポーネントに指定したプロパティを注入します。[ provide/inject] ( https://vuejs.org/v2/api/#provide-inject ) を参照してください。
161162
163+ ### ` sync `
164+
165+ - 型: ` boolean `
166+ - デフォルト: ` true `
167+
168+ ` sync ` を ` true ` にすると、Vue コンポーネントは同期的に描画されます。
169+ ` sync ` を ` false ` にすると、Vue コンポーネントは非同期的に描画されます。
170+
162171## その他のオプション
163172
164173` mount ` と ` shallow ` にマウンティングオプション以外のオプションが渡されると、コンポーネントのオプションは [ extends] ( https://vuejs.org/v2/api/#extends ) を使ってマウンティングオプション以外のオプションに上書きされます。
You can’t perform that action at this time.
0 commit comments