"Buffered" reporter used internally by a worker process when running in parallel mode.
Classes
Members
(inner, constant) EVENT_NAMES
List of events to listen to; these will be buffered and sent
when Mocha#run
is complete (via ParallelBuffered#done).
(inner, constant) ONCE_EVENT_NAMES
Like EVENT_NAMES, except we expect these events to only be emitted
by the Runner
once.
Type Definitions
BufferedEvent
Properties:
Name | Type | Description |
---|---|---|
name | string | Event name |
data | object | Event parameters |
Serializable event data from a Runner
. Keys of the data
property
beginning with __
will be converted into a function which returns the value
upon deserialization.
Type:
- Object