diff --git a/package.json b/package.json index c9ed29fc95..963d5d10d2 100644 --- a/package.json +++ b/package.json @@ -55,6 +55,7 @@ "automock": false, "maxWorkers": 4, "testTimeout": 10000, + "globalSetup": "./scripts/jest-setup.js", "transform": { "^.+\\.tsx?$": "ts-jest" }, diff --git a/scripts/jest-setup.js b/scripts/jest-setup.js new file mode 100644 index 0000000000..3d1e8924fc --- /dev/null +++ b/scripts/jest-setup.js @@ -0,0 +1,3 @@ +module.exports = async () => { + process.env.TZ = 'UTC'; +};