test(timeout): decrease wait timeouts

This commit is contained in:
George Lima 2019-04-09 16:24:52 -03:00
parent 9ff14e104e
commit 6e2ada7c52
2 changed files with 5 additions and 5 deletions

View File

@ -1,9 +1,9 @@
// @flow
import "@babel/polyfill";
import '@babel/polyfill';
// eslint-disable-next-line import/no-unresolved
require("jest-extended");
require('jest-extended');
// $FlowFixMe
jest.DEFAULT_TIMEOUT_INTERVAL = 120000;
jest.setTimeout(120000);
jest.DEFAULT_TIMEOUT_INTERVAL = 20000;
jest.setTimeout(20000);

View File

@ -4,7 +4,7 @@
import electron from 'electron';
import { Application } from 'spectron';
export const TIMEOUT = 20000;
export const TIMEOUT = 5000;
export const getApp = () => new Application({
path: electron,