Movee api test timeout into CLI args

This commit is contained in:
Daniel Imms
2020-02-15 04:29:04 -08:00
parent 93026bcae0
commit f3eb9f79a1
8 changed files with 6 additions and 30 deletions
@@ -16,7 +16,6 @@ const height = 600;
describe('Unicode11Addon', () => {
before(async function(): Promise<any> {
this.timeout(20000);
browser = await getBrowserType().launch({
headless: process.argv.indexOf('--headless') !== -1,
args: [`--window-size=${width},${height}`, `--no-sandbox`]
@@ -30,7 +29,6 @@ describe('Unicode11Addon', () => {
});
beforeEach(async function(): Promise<any> {
this.timeout(20000);
await page.goto(APP);
await openTerminal(page);
});