Skip to content

Commit 83fb2cb

Browse files
committed
Update config.md
1 parent bf60be8 commit 83fb2cb

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Diff for: docs/api/config.md

-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ VueTestUtils.config.logModifiedComponents = false
101101
- default: `true`
102102

103103
It suppresses warnings triggered by Vue while mutating component's observables (e.g. props). When set to `false`, all warnings are visible in the console. This is a configurable way which relies on `Vue.config.silent`.
104-
105104
Example:
106105

107106
```js

Diff for: docs/api/wrapper-array/setData.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## setData(data)
22

3-
Sets `Wrapper` `vm` data by each `Wrapper` in `WrapperArray`.
3+
Sets `Wrapper` `vm` data and forces update on each `Wrapper` in `WrapperArray`.
44

55
**Note every `Wrapper` must contain a Vue instance.**
66

Diff for: docs/ja/api/options.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,9 @@ shallowMount(Component, {
101101
stubs: {
102102
// 特定の実装によるスタブ
103103
'registered-component': Foo,
104-
// デフォルトのスタブを作成します
104+
// デフォルトのスタブを作成します。
105+
// このケースではデフォルトのスタブのコンポーネント名は another-component です。
106+
// デフォルトのスタブは <${default stub component name}-stub> です。
105107
'another-component': true
106108
}
107109
})

0 commit comments

Comments
 (0)