mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-28 12:12:20 +00:00
Merge pull request #977 from roramirez/use-before-after-vendors
Use before after vendors
This commit is contained in:
commit
586beea21e
@ -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.
|
||||||
|
@ -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);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user