How do you test that a Vue component emits the correct custom event with @vue/test-utils?
-
A
Check wrapper.props().emitted
-
B
Use wrapper.emitted() to inspect emitted events and their arguments
-
C
Read the events from wrapper.html()
-
D
Use wrapper.find('emit').text()