Skip to content

Commit 5b59e69

Browse files
38elementseddyerburgh
authored andcommitted
docs: update docs/ja (#488)
1 parent 571c4ee commit 5b59e69

File tree

4 files changed

+21
-9
lines changed

4 files changed

+21
-9
lines changed

docs/ja/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
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)

docs/ja/SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
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)

docs/ja/api/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
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)

docs/ja/api/options.md

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,16 @@
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) を使ってマウンティングオプション以外のオプションに上書きされます。

0 commit comments

Comments
 (0)