Add tests for utils/Mouse

This commit is contained in:
Daniel Imms
2017-09-04 10:27:07 -07:00
parent 1f38c2f467
commit 9506c01824
3 changed files with 73 additions and 3 deletions
+8
View File
@@ -68,6 +68,14 @@ export class MockTerminal implements ITerminal {
}
}
export class MockCharMeasure implements ICharMeasure {
width: number;
height: number;
measure(options: ITerminalOptions): void {
throw new Error('Method not implemented.');
}
}
export class MockInputHandlingTerminal implements IInputHandlingTerminal {
element: HTMLElement;
options: ITerminalOptions = {};