Merge pull request #977 from roramirez/use-before-after-vendors

Use before after vendors
This commit is contained in:
Michael Teeuw 2017-08-02 12:07:40 +02:00 committed by GitHub
commit 586beea21e
2 changed files with 5 additions and 4 deletions

View File

@ -16,6 +16,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
### Updated ### Updated
- Changed 'default.js' - listen on all attached interfaces by default. - Changed 'default.js' - listen on all attached interfaces by default.
- Add execution of `npm list` after the test are ran in Travis CI. - Add execution of `npm list` after the test are ran in Travis CI.
- Change hooks for the vendors e2e tests.
### Fixed ### Fixed
- Fixed issue with incorrect allignment of analog clock when displayed in the center column of the MM. - Fixed issue with incorrect allignment of analog clock when displayed in the center column of the MM.

View File

@ -6,21 +6,21 @@ const expect = require("chai").expect;
const describe = global.describe; const describe = global.describe;
const it = global.it; const it = global.it;
const beforeEach = global.beforeEach; const before = global.before;
const afterEach = global.afterEach; const after = global.after;
describe("Vendors", function () { describe("Vendors", function () {
helpers.setupTimeout(this); helpers.setupTimeout(this);
var app = null; var app = null;
beforeEach(function () { before(function () {
return helpers.startApplication({ return helpers.startApplication({
args: ["js/electron.js"] args: ["js/electron.js"]
}).then(function (startedApp) { app = startedApp; }) }).then(function (startedApp) { app = startedApp; })
}); });
afterEach(function () { after(function () {
return helpers.stopApplication(app); return helpers.stopApplication(app);
}); });