var Application = require('spectron').Application;
var chai = require('chai');
var chaiAsPromised = require('chai-as-promised');
var electron = require('electron-prebuilt');

global.before(function () {
    chai.should();
    chai.use(chaiAsPromised);
});

beforeEach(function () {
    this.app = new Application({
        startTimeout: 10000,
        path: electron,
        args: ['electron-app']
    });

    return this.app.start().then(function (app) {
        chaiAsPromised.transferPromiseness = app.transferPromiseness;
        return app
    })
});

afterEach(function () {
    if (this.app && this.app.isRunning()) {
        return this.app.stop()
    }
});
@@ -288,60 +288,56 @@
 his.
-app = new Application(%7B%0A        startTimeout: 10000,
+timeout(10000);%0A    this.app = new Application(%7B
 %0A   

add more timeout time