fix for failing unit test, use UTC as timezone (#3254) (#3259)

fixes #3254
This commit is contained in:
Karsten Hassel 2023-11-01 00:02:53 +01:00 committed by GitHub
parent a8d06ae74e
commit 3a01acd389
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@ _This release is scheduled to be released on 2024-01-01._
- Fix cloneObject() function to respect RegExp (#3237) - Fix cloneObject() function to respect RegExp (#3237)
- Fix newsfeed module for feeds using "a10:updated" tag (#3238) - Fix newsfeed module for feeds using "a10:updated" tag (#3238)
- Fix issue template (#3167) - Fix issue template (#3167)
- Hotfix for failing unit test (#3254) - Fix for failing unit test (#3254)
## [2.25.0] - 2023-10-01 ## [2.25.0] - 2023-10-01

View File

@ -1,3 +1,3 @@
module.exports = async () => { module.exports = async () => {
process.env.TZ = "Europe/Berlin"; process.env.TZ = "UTC";
}; };

View File

@ -160,7 +160,7 @@ describe("Default modules utils tests", () => {
}, },
time time
) )
).toBe("08:13"); ).toBe("09:13");
}); });
}); });
}); });