File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
- ## createWrapper(node, options)
1
+ ## createWrapper(node [ , options] )
2
2
3
3
- ** Arguments:**
4
4
5
5
- ` {vm|HTMLElement} node `
6
6
- ` {Object} options `
7
7
- ` {Boolean} sync `
8
- - `{Boolean} attachedToDocument
8
+ - ` {Boolean} attachedToDocument `
9
9
10
10
- ** Returns:**
11
11
- ` {Wrapper} `
Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ import { mount } from '@vue/test-utils'
12
12
import Foo from ' ./Foo.vue'
13
13
14
14
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 ()
17
17
```
18
18
19
19
- ** Note:**
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ import Foo from './Foo.vue'
13
13
14
14
const wrapper = mount (Foo)
15
15
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' )
18
18
19
19
const select = wrapper .find (' select' )
20
20
select .setValue (' option value' )
You can’t perform that action at this time.
0 commit comments