Skip to content

Commit 69b4c34

Browse files
docs: add missing expect keyword (#1909)
1 parent c97d61d commit 69b4c34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guides/common-tips.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ it('updates text', async () => {
4949
await wrapper.trigger('click')
5050
expect(wrapper.text()).toContain('updated')
5151
await wrapper.trigger('click')
52-
wrapper.text().toContain('some different text')
52+
expect(wrapper.text()).toContain('some different text')
5353
})
5454

5555
// Or if you're without async/await

0 commit comments

Comments
 (0)