diff --git a/docs/api/options.md b/docs/api/options.md index 4191f86b5..2643b6a4a 100644 --- a/docs/api/options.md +++ b/docs/api/options.md @@ -197,8 +197,6 @@ Pass properties for components to use in injection. See [provide/inject](https:/ - type: `boolean` - default: `true` -Sets all watchers to run synchronously. - When `sync` is `true`, the Vue component is rendered synchronously. When `sync` is `false`, the Vue component is rendered asynchronously. diff --git a/docs/api/wrapper/README.md b/docs/api/wrapper/README.md index 4e1269173..c9d024f9f 100644 --- a/docs/api/wrapper/README.md +++ b/docs/api/wrapper/README.md @@ -10,20 +10,19 @@ A `Wrapper` is an object that contains a mounted component or vnode and methods `Component`: This is the `Vue` instance. You can access all the [instance methods and properties of a vm](https://vuejs.org/v2/api/#Instance-Properties) with `wrapper.vm`. This only exists on Vue component wrappers -### `element`: +### `element` `HTMLElement`: the root DOM node of the wrapper -### `options`: -`Object`: Object containing Vue Test Utils options passed to `mount` or `shallowMount` +### `options` -#### `options.attachedToDocument`: +#### `options.attachedToDocument` -`Boolean`: True if `attachedToDocument` was passed to `mount` or `shallowMount` +`Boolean`: True if `attachedToDocument` in mounting options was true  #### `options.sync` -`Boolean`: True if `sync` was not passed as `false` to `mount` or `shallowMount` +`Boolean`: True if `sync` in mounting options was not `false` ## Methods