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
@@ -17,8 +17,6 @@ const width = 800;
const height = 600;
describe('WebGL Renderer Integration Tests', function(): void {
this.timeout(20000);
const browserType = getBrowserType();
const isHeadless = process.argv.indexOf('--headless') !== -1;
const areTestsEnabled = browserType.name() === 'chromium' || (browserType.name() === 'firefox' && !isHeadless);