8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 498382c commit 8515ac4Copy full SHA for 8515ac4
docs/guides/common-tips.md
@@ -56,9 +56,9 @@ it('updates text', async () => {
56
it('render text', done => {
57
const wrapper = mount(TestComponent)
58
wrapper.trigger('click').then(() => {
59
- wrapper.text().toContain('updated')
+ expect(wrapper.text()).toContain('updated')
60
61
- wrapper.text().toContain('some different text')
+ expect(wrapper.text()).toContain('some different text')
62
done()
63
})
64
0 commit comments