Fixtestcase calendar testcase failure (#3596)

fix calendar testcase failing after date change (exposes helper failure)
This commit is contained in:
sam detweiler 2024-10-23 16:46:32 -05:00 committed by GitHub
parent aa7e856170
commit 6946b49977
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

View File

@ -31,6 +31,7 @@ _This release is scheduled to be released on 2025-01-01._
- [updatenotification] Fix pm2 using detection when pm2 script is in MagicMirror root folder (#3576)
- [core] Fix loading node_helper of modules: avoid black screen, display errors and continue loading with next module (#3578)
- [weather] changed default value for weatherEndpoint of provider openweathermap to "/onecall" (#3574)
- [calendar] fix one testcase which had a date expired problem..
## [2.29.0] - 2024-10-01

View File

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