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 27
27
- [ attrs] ( api/options.md#attrs )
28
28
- [ listeners] ( api/options.md#listeners )
29
29
- [ provide] ( api/options.md#provide )
30
+ - [ sync] ( api/options.md#sync )
30
31
- [ その他のオプション] ( api/options.md#その他のオプション )
31
32
* [ Wrapper] ( api/wrapper/README.md )
32
33
* [ attributes] ( api/wrapper/attributes.md )
Original file line number Diff line number Diff line change 25
25
- [ attrs] ( api/options.md#attrs )
26
26
- [ listeners] ( api/options.md#listeners )
27
27
- [ provide] ( api/options.md#provide )
28
+ - [ sync] ( api/options.md#sync )
28
29
- [ その他のオプション] ( api/options.md#その他のオプション )
29
30
* [ Wrapper] ( api/wrapper/README.md )
30
31
* [ attributes] ( api/wrapper/attributes.md )
Original file line number Diff line number Diff line change 13
13
- [ attrs] ( ./options.md#attrs )
14
14
- [ listeners] ( ./options.md#listeners )
15
15
- [ provide] ( ./options.md#provide )
16
+ - [ sync] ( ./options.md#sync )
16
17
- [ その他のオプション] ( ./options.md#その他のオプション )
17
18
* [ Wrapper] ( ./wrapper/README.md )
18
19
* [ attributes] ( ./wrapper/attributes.md )
Original file line number Diff line number Diff line change 4
4
5
5
## ` vue-test-utils ` の詳細なマウンティングオプション
6
6
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 )
16
17
17
18
### ` context `
18
19
@@ -159,6 +160,14 @@ expect(wrapper.vm.$route).toBeInstanceOf(Object)
159
160
160
161
コンポーネントに指定したプロパティを注入します。[ provide/inject] ( https://vuejs.org/v2/api/#provide-inject ) を参照してください。
161
162
163
+ ### ` sync `
164
+
165
+ - 型: ` boolean `
166
+ - デフォルト: ` true `
167
+
168
+ ` sync ` を ` true ` にすると、Vue コンポーネントは同期的に描画されます。
169
+ ` sync ` を ` false ` にすると、Vue コンポーネントは非同期的に描画されます。
170
+
162
171
## その他のオプション
163
172
164
173
` mount ` と ` shallow ` にマウンティングオプション以外のオプションが渡されると、コンポーネントのオプションは [ extends] ( https://vuejs.org/v2/api/#extends ) を使ってマウンティングオプション以外のオプションに上書きされます。
You can’t perform that action at this time.
0 commit comments