Skip to content

Commit

Permalink
docs: Fix omission of async keywords. (#2163)
Browse files Browse the repository at this point in the history
  • Loading branch information
yasuaki640 committed Aug 20, 2023
1 parent 0f20d68 commit 2d618e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/api/index.md
Expand Up @@ -1688,14 +1688,14 @@ test('setValue on checkbox', async () => {
expect(wrapper.find('div')).toBe(false)
})

test('setValue on input text', () => {
test('setValue on input text', async () => {
const wrapper = mount(Component)

await wrapper.find('input[type="text"]').setValue('hello!')
expect(wrapper.find('p').text()).toBe('Text: hello!')
})

test('setValue on multi select', () => {
test('setValue on multi select', async () => {
const wrapper = mount(Component)

// For select without multiple
Expand Down

0 comments on commit 2d618e7

Please sign in to comment.