Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/api/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ VueTestUtils.config.logModifiedComponents = false
- default: `true`

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`.

Example:

```js
Expand Down
6 changes: 3 additions & 3 deletions docs/api/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ shallowMount(Component, {
stubs: {
// stub with a specific implementation
'registered-component': Foo,
// create default stub
// another-component is the default stub component name
// the default stub is <${default stub component name}-stub>
// create default stub.
// the component name of default stub is another-component in this case.
// the default stub is <${the component name of default stub}-stub>.
'another-component': true
}
})
Expand Down
2 changes: 1 addition & 1 deletion docs/api/wrapper-array/setData.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## setData(data)

Sets `Wrapper` `vm` data and forces update on each `Wrapper` in `WrapperArray`.
Sets `Wrapper` `vm` data on each `Wrapper` in `WrapperArray`.

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

Expand Down