Firing Events
Note
Most projects have a few use cases for
fireEvent
, but the majority of the time you should probably useuserEvent
.
fireEvent
Fire CLI events.
fireEvent[eventName]
Convenience methods for firing CLI events. Check out
src/event-map.js for a full list as well as default
eventProperties
.