File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 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] )
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} `
Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ import { mount } from '@vue/test-utils'
1212import Foo from ' ./Foo.vue'
1313
1414const 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:**
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ import Foo from './Foo.vue'
1313
1414const 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
1919const select = wrapper .find (' select' )
2020select .setValue (' option value' )
You can’t perform that action at this time.
0 commit comments