const stub = sinon.stub()
const wrapper = mount(ParentComponent)
// just a simple assertion that your parent component's handler for input event was called
wrapper.setMethods({ methodToTest: sub })
// you can pass a component in `find()` method then trigger the component's event
wrapper.find(ChildComponent).trigger('input')
// assert if the listener was called
expect(stub.called).tobeTruthy()
<template>
<div>
<child-component ref="childRef" @custom="handleMethod" />
</div>
</template>
const wrapper = mount(Component);
wrapper.vm.$refs.childRef.$emit('custom');