15 lines
485 B
TypeScript
15 lines
485 B
TypeScript
import type { ITerminalChunk } from './ITerminalChunk';
|
|
import { TerminalWritable } from './TerminalWritable';
|
|
/**
|
|
* A {@link TerminalWritable} subclass for use by unit tests.
|
|
*
|
|
* @beta
|
|
*/
|
|
export declare class MockWritable extends TerminalWritable {
|
|
readonly chunks: ITerminalChunk[];
|
|
protected onWriteChunk(chunk: ITerminalChunk): void;
|
|
reset(): void;
|
|
getAllOutput(): string;
|
|
getFormattedChunks(): ITerminalChunk[];
|
|
}
|
|
//# sourceMappingURL=MockWritable.d.ts.map
|