Skip to content

Commit 08b36ce

Browse files
38elementseddyerburgh
authored andcommitted
docs: tweaks (#737)
1 parent c78ed4e commit 08b36ce

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

Diff for: docs/api/config.md

+1
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ 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+
104105
Example:
105106

106107
```js

Diff for: docs/api/options.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ shallowMount(Component, {
106106
stubs: {
107107
// stub with a specific implementation
108108
'registered-component': Foo,
109-
// create default stub
110-
// another-component is the default stub component name
111-
// the default stub is <${default stub component name}-stub>
109+
// create default stub.
110+
// the component name of default stub is another-component in this case.
111+
// the default stub is <${the component name of default stub}-stub>.
112112
'another-component': true
113113
}
114114
})

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 and forces update on each `Wrapper` in `WrapperArray`.
3+
Sets `Wrapper` `vm` data on each `Wrapper` in `WrapperArray`.
44

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

0 commit comments

Comments
 (0)