I would like to test that my component handles correctly events emitted by its child component.
How can I emit the event from
child-component, without assuming anything about its implementation?
In the example below, how would I test an
@input event emitted by
// ParentComponent <template> <div> <child-component @input="handleMethod" /> </div> </template>