Home > @rushstack/terminal > MockWritable

MockWritable class

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

A TerminalWritable subclass for use by unit tests.


export declare class MockWritable extends TerminalWritable 

Extends: TerminalWritable


Property Modifiers Type Description
chunks   ITerminalChunk[] (BETA)


Method Modifiers Description
getAllOutput()   (BETA)
getFormattedChunks()   (BETA)
onWriteChunk(chunk)   (BETA)
reset()   (BETA)