Merge remote-tracking branch 'roramirez_github/develop' into default-hello-world

This commit is contained in:
Rodrigo Ramírez Norambuena
2017-08-20 22:49:13 -03:00
143 changed files with 2448 additions and 882 deletions

View File

@@ -1,16 +1,32 @@
const globalSetup = require("../global-setup");
const app = globalSetup.app;
const helpers = require("../global-setup");
const path = require("path");
const request = require("request");
describe("Test helloworld module", function () {
this.timeout(20000);
const expect = require("chai").expect;
const describe = global.describe;
const it = global.it;
const beforeEach = global.beforeEach;
const afterEach = global.afterEach;
beforeEach(function (done) {
app.start().then(function() { done(); } );
describe("Test helloworld module", function() {
helpers.setupTimeout(this);
var app = null;
beforeEach(function() {
return helpers
.startApplication({
args: ["js/electron.js"]
})
.then(function(startedApp) {
app = startedApp;
});
});
afterEach(function (done) {
app.stop().then(function() { done(); });
afterEach(function() {
return helpers.stopApplication(app);
});
describe("helloworld set config text", function () {