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:
Karsten Hassel
2023-04-08 08:55:43 +02:00
committed by GitHub
parent 32192d1698
commit 09f117c3d9
6 changed files with 8 additions and 16 deletions

View File

@@ -116,7 +116,6 @@ describe("Default modules utils tests", () => {
beforeAll(() => {
jest.useFakeTimers();
moment.tz.setDefault("Europe/Berlin");
});
beforeEach(async () => {