From 2d618e7510b09462aa7f2aac3636b79953436f1d Mon Sep 17 00:00:00 2001 From: yasuaki640 Date: Mon, 21 Aug 2023 07:38:14 +0900 Subject: [PATCH] docs: Fix omission of async keywords. (#2163) --- docs/api/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/index.md b/docs/api/index.md index 8ed2cdf6c..eb27e9abd 100644 --- a/docs/api/index.md +++ b/docs/api/index.md @@ -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