Skip to content

Commit e840892

Browse files
38elementseddyerburgh
authored andcommitted
docs: tweaks (#870)
1 parent 26e7710 commit e840892

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Diff for: docs/api/createWrapper.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
## createWrapper(node, options)
1+
## createWrapper(node [, options])
22

33
- **Arguments:**
44

55
- `{vm|HTMLElement} node`
66
- `{Object} options`
77
- `{Boolean} sync`
8-
- `{Boolean} attachedToDocument
8+
- `{Boolean} attachedToDocument`
99

1010
- **Returns:**
1111
- `{Wrapper}`

Diff for: docs/api/wrapper/setChecked.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import { mount } from '@vue/test-utils'
1212
import Foo from './Foo.vue'
1313

1414
const wrapper = mount(Foo)
15-
const option = wrapper.find('input[type="radio"]')
16-
option.setChecked()
15+
const radioInput = wrapper.find('input[type="radio"]')
16+
radioInput.setChecked()
1717
```
1818

1919
- **Note:**

Diff for: docs/api/wrapper/setValue.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ import Foo from './Foo.vue'
1313

1414
const wrapper = mount(Foo)
1515

16-
const input = wrapper.find('input[type="text"]')
17-
input.setValue('some value')
16+
const textInput = wrapper.find('input[type="text"]')
17+
textInput.setValue('some value')
1818

1919
const select = wrapper.find('select')
2020
select.setValue('option value')

0 commit comments

Comments
 (0)