mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 12:55:22 +00:00
set Timezone Europe/Berlin
in unit tests (#3087)
needed for new formatTime unit tests. Avoiding ugly TZ setting in github workflows, see https://github.com/MichMich/MagicMirror/pull/3073
This commit is contained in:
@@ -116,7 +116,6 @@ describe("Default modules utils tests", () => {
|
||||
|
||||
beforeAll(() => {
|
||||
jest.useFakeTimers();
|
||||
moment.tz.setDefault("Europe/Berlin");
|
||||
});
|
||||
|
||||
beforeEach(async () => {
|
||||
|
Reference in New Issue
Block a user