chore(test): add quitTimeout in Application

This commit is contained in:
George Lima 2019-01-22 15:48:54 -03:00
parent 4e30d698af
commit 19361ae3c7
1 changed files with 3 additions and 2 deletions

View File

@ -1,13 +1,14 @@
// @flow
// eslint-disable-next-line import/no-extraneous-dependencies
/* eslint-disable import/no-extraneous-dependencies */
import electron from 'electron';
import { Application } from 'spectron';
export const TIMEOUT = 10000;
export const TIMEOUT = 20000;
export const getApp = () => new Application({
path: electron,
args: ['.'],
startTimeout: TIMEOUT,
waitTimeout: TIMEOUT,
quitTimeout: TIMEOUT,
});