Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Fix omission of async keywords. #2163

Merged
merged 1 commit into from Aug 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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