Use es6 notation in helloworld tests

This commit is contained in:
rejas 2021-03-17 21:54:14 +01:00
parent ccf5bb9342
commit 0b3964c827
2 changed files with 2 additions and 3 deletions

View File

@ -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"],

View File

@ -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