test(timeout): decrease wait timeouts
This commit is contained in:
parent
9ff14e104e
commit
6e2ada7c52
|
@ -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);
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue