more testing time

This commit is contained in:
DEg
2018-03-24 01:22:26 +03:00
parent f360e316b7
commit f9f8cbb5de

View File

@ -2,18 +2,18 @@ import electron from "electron";
import { Application } from "spectron";
const beforeEach = function() {
this.timeout(15000);
this.timeout(30000);
this.app = new Application({
path: electron,
args: ["."],
startTimeout: 15000,
waitTimeout: 15000
startTimeout: 30000,
waitTimeout: 30000
});
return this.app.start();
};
const afterEach = function() {
this.timeout(15000);
this.timeout(30000);
if (this.app && this.app.isRunning()) {
return this.app.stop();
}