File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Selects an option element and updates `v-model` bound data.
8
8
import { mount } from ' @vue/test-utils'
9
9
import Foo from ' ./Foo.vue'
10
10
11
- const wrapper = shallowMount (Foo)
11
+ const wrapper = mount (Foo)
12
12
const options = wrapper .find (' select' ).findAll (' option' )
13
13
14
14
options .at (1 ).setSelected ()
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ option 要素を選択します。そして、 `v-model` に束縛されてい
8
8
import { mount } from ' @vue/test-utils'
9
9
import Foo from ' ./Foo.vue'
10
10
11
- const wrapper = shallowMount (Foo)
11
+ const wrapper = mount (Foo)
12
12
const options = wrapper .find (' select' ).findAll (' option' )
13
13
14
14
options .at (1 ).setSelected ()
Original file line number Diff line number Diff line change 8
8
import { mount } from ' @vue/test-utils'
9
9
import Foo from ' ./Foo.vue'
10
10
11
- const wrapper = shallowMount (Foo)
11
+ const wrapper = mount (Foo)
12
12
const options = wrapper .find (' select' ).findAll (' option' )
13
13
14
14
options .at (1 ).setSelected ()
Original file line number Diff line number Diff line change 8
8
import { mount } from ' @vue/test-utils'
9
9
import Foo from ' ./Foo.vue'
10
10
11
- const wrapper = shallowMount (Foo)
11
+ const wrapper = mount (Foo)
12
12
const options = wrapper .find (' select' ).findAll (' option' )
13
13
14
14
options .at (1 ).setSelected ()
You can’t perform that action at this time.
0 commit comments