mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-29 01:12:46 +00:00
Fixtestcase calendar testcase failure (#3596)
fix calendar testcase failing after date change (exposes helper failure)
This commit is contained in:
@@ -27,6 +27,10 @@ let config = {
|
||||
]
|
||||
};
|
||||
|
||||
Date.now = () => {
|
||||
return new Date("15 Sep 2024 12:30:00 GMT").valueOf();
|
||||
};
|
||||
|
||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||
if (typeof module !== "undefined") {
|
||||
module.exports = config;
|
||||
|
Reference in New Issue
Block a user