0👍
I always have trouble when spying on Vue methods and events being fired. You can try an async test with $nextTick
on the off chance Vue’s events are resolved async, but I recommend just testing your event handlers directly and trust that Vue’s internal event handling works rather spying on those.
Source:stackexchange.com