Skip to content

Commit b0d3623

Browse files
vvanpokazupon
authored andcommitted
Use mount() consistently in Wrapper documentation (#1340)
The `setSelected()` documentation examples imported `shallowMount`, but called `mount()`.
1 parent 5c61b29 commit b0d3623

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/api/wrapper/setSelected.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Selects an option element and updates `v-model` bound data.
88
import { mount } from '@vue/test-utils'
99
import Foo from './Foo.vue'
1010

11-
const wrapper = shallowMount(Foo)
11+
const wrapper = mount(Foo)
1212
const options = wrapper.find('select').findAll('option')
1313

1414
options.at(1).setSelected()

docs/ja/api/wrapper/setSelected.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ option 要素を選択します。そして、 `v-model` に束縛されてい
88
import { mount } from '@vue/test-utils'
99
import Foo from './Foo.vue'
1010

11-
const wrapper = shallowMount(Foo)
11+
const wrapper = mount(Foo)
1212
const options = wrapper.find('select').findAll('option')
1313

1414
options.at(1).setSelected()

docs/ru/api/wrapper/setSelected.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import { mount } from '@vue/test-utils'
99
import Foo from './Foo.vue'
1010

11-
const wrapper = shallowMount(Foo)
11+
const wrapper = mount(Foo)
1212
const options = wrapper.find('select').findAll('option')
1313

1414
options.at(1).setSelected()

docs/zh/api/wrapper/setSelected.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import { mount } from '@vue/test-utils'
99
import Foo from './Foo.vue'
1010

11-
const wrapper = shallowMount(Foo)
11+
const wrapper = mount(Foo)
1212
const options = wrapper.find('select').findAll('option')
1313

1414
options.at(1).setSelected()

0 commit comments

Comments
 (0)