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";
|
||||
|
||||
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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user