Class HookEventReporter
Index
Constructors
constructor
-
Returns HookEventReporter
Accessors
emitted
-
Every event emitted, in order.
Returns readonly Emitted[]
global Metadata
-
Each entry of global metadata set, with its latest value.
Returns ReadonlyMap<string, PlainValue>
reporter
-
The hook reporter it lends.
Returns HookReporter
Methods
Staticfailing
-
A recorder whose reporter interrupts every call and keeps nothing.
Returns HookEventReporter
Lends a hook's reporter outside any journey, so that a test calls a hook itself, and keeps every event emitted through it and the global metadata set, as StepEventReporter does for a step's.