Fix most of Terminal.api timing issues

This commit is contained in:
Daniel Imms
2019-11-09 17:29:32 -08:00
parent 17677568f9
commit 34e703e472
6 changed files with 156 additions and 125 deletions
+2 -2
View File
@@ -198,8 +198,8 @@ function parseReport(encoding: string, msg: number[]): {state: any; row: number;
/**
* Mouse tracking tests.
*/
describe('Mouse Tracking Tests', function(): void {
before(async function(): Promise<any> {
describe('Mouse Tracking Tests', () => {
before(async () => {
browser = await puppeteer.launch({
headless: process.argv.indexOf('--headless') !== -1,
args: [`--window-size=${width},${height}`, `--no-sandbox`]