mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-07-06 23:57:43 +00:00
Use es6 notation in helloworld tests
This commit is contained in:
parent
ccf5bb9342
commit
0b3964c827
@ -3,8 +3,7 @@
|
|||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
|
let config = {
|
||||||
var config = {
|
|
||||||
port: 8080,
|
port: 8080,
|
||||||
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
|
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ const afterEach = global.afterEach;
|
|||||||
describe("Test helloworld module", function () {
|
describe("Test helloworld module", function () {
|
||||||
helpers.setupTimeout(this);
|
helpers.setupTimeout(this);
|
||||||
|
|
||||||
var app = null;
|
let app = null;
|
||||||
|
|
||||||
beforeEach(function () {
|
beforeEach(function () {
|
||||||
return helpers
|
return helpers
|
||||||
|
Loading…
x
Reference in New Issue
Block a user