Describe the feature
Currently it is possible to only hook into the callHook using beforeEach and afterEach but it would be also useful to be able to hook into hook listener e.g. onListener.
This would allow creating a better logger:
10:08:06 hook called app:user:registered (emit)
10:08:06 hook listener app:user:registered (listen)
10:08:06 hook listener app:user:registered (listen)
10:08:06 hook listener app:user:registered (listen)
Currently it is not possible to know when a listener has handled a hook.
Additional information
Describe the feature
Currently it is possible to only hook into the
callHookusingbeforeEachandafterEachbut it would be also useful to be able to hook intohooklistener e.g.onListener.This would allow creating a better logger:
Currently it is not possible to know when a listener has handled a hook.
Additional information