Type alias TestOutputStreamProvider

TestOutputStreamProvider: ((context) => NodeJS.WriteStream | PromiseLike<NodeJS.WriteStream>)

A function, which returns the stream for a stream event.

Type declaration

    • (context): NodeJS.WriteStream | PromiseLike<NodeJS.WriteStream>
    • Parameters

      • context: ITestEventHandlerContext

        The event context.

      Returns NodeJS.WriteStream | PromiseLike<NodeJS.WriteStream>

Returns

The stream to use or the promise with it.

Generated using TypeDoc