Fix missing ; and == and some missing vars

This commit is contained in:
rejas
2019-06-04 10:19:25 +02:00
parent c1559dd8c8
commit 69aafd7d6a
6 changed files with 9 additions and 9 deletions

View File

@@ -5,7 +5,7 @@ global.moment = require("moment");
describe("Functions into modules/default/calendar/calendar.js", function() {
// Fake for use by calendar.js
Module = {}
Module = {};
Module.definitions = {};
Module.register = function (name, moduleDefinition) {
Module.definitions[name] = moduleDefinition;

View File

@@ -39,7 +39,7 @@ describe("Functions module currentweather", function() {
[2.0 , "2"],
["2.12" , "2"],
[10.1 , "10"]
]
];
values.forEach(value => {
it(`for ${value[0]} should be return ${value[1]}`, function() {
@@ -66,7 +66,7 @@ describe("Functions module currentweather", function() {
["2.12" , "2.1"],
[10.1 , "10.1"],
[10.10 , "10.1"]
]
];
values.forEach(value => {
it(`for ${value[0]} should be return ${value[1]}`, function() {

View File

@@ -7,7 +7,7 @@ var vm = require("vm");
describe("Functions into modules/default/newsfeed/newsfeed.js", function() {
Module = {}
Module = {};
Module.definitions = {};
Module.register = function (name, moduleDefinition) {
Module.definitions[name] = moduleDefinition;

View File

@@ -35,7 +35,7 @@ describe("Functions module weatherforecast", function() {
[2.0 , "2"],
["2.12" , "2"],
[10.1 , "10"]
]
];
values.forEach(value => {
it(`for ${value[0]} should be return ${value[1]}`, function() {
@@ -62,7 +62,7 @@ describe("Functions module weatherforecast", function() {
["2.12" , "2.1"],
[10.1 , "10.1"],
[10.10 , "10.1"]
]
];
values.forEach(value => {
it(`for ${value[0]} should be return ${value[1]}`, function() {