Fix some more undefs that popped up out of nowhere

This commit is contained in:
Veeck
2020-05-05 14:54:49 +02:00
parent c8aedc6f29
commit c8a0f1d0de
5 changed files with 9 additions and 9 deletions

View File

@@ -17,7 +17,7 @@ describe("Functions into modules/default/calendar/calendar.js", function() {
});
describe("capFirst", function() {
words = {
const words = {
"rodrigo": "Rodrigo",
"123m": "123m",
"magic mirror": "Magic mirror",
@@ -89,7 +89,7 @@ describe("Functions into modules/default/calendar/calendar.js", function() {
});
describe("shorten", function() {
strings = {
const strings = {
" String with whitespace at the beginning that needs trimming" : { length: 16, return: "String with whit…" },
"long string that needs shortening": { length: 16, return: "long string that…" },
"short string": { length: 16, return: "short string" },