From 95920298ce1d6464ef00f035e7ad8a086b9f56b8 Mon Sep 17 00:00:00 2001 From: Theoklitos Bampouris Date: Tue, 28 Sep 2021 16:00:07 +0300 Subject: [PATCH] docs: add missing expect keyword --- docs/guides/common-tips.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/common-tips.md b/docs/guides/common-tips.md index 3f103a522..e394786a3 100644 --- a/docs/guides/common-tips.md +++ b/docs/guides/common-tips.md @@ -49,7 +49,7 @@ it('updates text', async () => { await wrapper.trigger('click') expect(wrapper.text()).toContain('updated') await wrapper.trigger('click') - wrapper.text().toContain('some different text') + expect(wrapper.text()).toContain('some different text') }) // Or if you're without async/await