MagicMirror/tests/unit/helpers/global-setup.js
Karsten Hassel 09f117c3d9
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
2023-04-08 08:55:43 +02:00

4 lines
69 B
JavaScript

module.exports = async () => {
process.env.TZ = "Europe/Berlin";
};