Merge branch 'master' of github.com:DEgITx/rats-search
This commit is contained in:
@ -2,18 +2,18 @@ import electron from "electron";
|
|||||||
import { Application } from "spectron";
|
import { Application } from "spectron";
|
||||||
|
|
||||||
const beforeEach = function() {
|
const beforeEach = function() {
|
||||||
this.timeout(15000);
|
this.timeout(30000);
|
||||||
this.app = new Application({
|
this.app = new Application({
|
||||||
path: electron,
|
path: electron,
|
||||||
args: ["."],
|
args: ["."],
|
||||||
startTimeout: 15000,
|
startTimeout: 30000,
|
||||||
waitTimeout: 15000
|
waitTimeout: 30000
|
||||||
});
|
});
|
||||||
return this.app.start();
|
return this.app.start();
|
||||||
};
|
};
|
||||||
|
|
||||||
const afterEach = function() {
|
const afterEach = function() {
|
||||||
this.timeout(15000);
|
this.timeout(30000);
|
||||||
if (this.app && this.app.isRunning()) {
|
if (this.app && this.app.isRunning()) {
|
||||||
return this.app.stop();
|
return this.app.stop();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user