We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f94a62d commit f0ed63bCopy full SHA for f0ed63b
docs/guides/common-tips.md
@@ -142,7 +142,7 @@ import ChildComponent from '@/components/ChildComponent'
142
describe('ParentComponent', () => {
143
it("displays 'Emitted!' when custom event is emitted", () => {
144
const wrapper = mount(ParentComponent)
145
- wrapper.find(ChildComponent).vm.$emit('custom')
+ wrapper.findComponent(ChildComponent).vm.$emit('custom')
146
expect(wrapper.html()).toContain('Emitted!')
147
})
148
0 commit comments