summaryrefslogtreecommitdiff
path: root/jest.config.js
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2019-05-06 10:08:20 +0100
committerFilipa Lacerda <filipa@gitlab.com>2019-05-06 10:08:20 +0100
commit678c5a0086646b1efaed4c02bc53a018f6b0a950 (patch)
tree1d77242b1480020fe2170de19577500f79699c17 /jest.config.js
parent8d1bdaf4396291c7a61bcc3da8b0d6cd2da3e0dc (diff)
parent8b55b794cb48c726cde7cf0ad24180d8e6bb975f (diff)
downloadgitlab-ce-61278-next.tar.gz
Merge branch 'master' into 61278-next61278-next
* master: (64 commits) Allow usage of quick actions for internal users Added Omniauth OpenId Connect startegy Changelog update for MR #27025, Issue #57528 Docs: Realigning scattered EE docs into CE Add troubleshooting step for older docker clients Edit regionendpoint text Docs: Change geo redirects to relative to match EE Docs: Second Attempt to realign administration/geo docs Document Prometheus app can be uninstalled Docs: Merge EE doc/administration/high_availability to CE Docs: Merge EE doc/gitlab-geo to CE Docs: Merge EE doc/user/application_security to CE Docs: Merge EE doc/​administration/​geo to CE Docs: Merge Various EE /doc dirs to CE Docs: Merge EE doc/user/project/*.md to CE Docs: Merge 4 EE doc/user/project dirs to CE Docs: Merge misc EE doc/user/project/i* dirs to CE Docs: Merge Misc EE doc/administration files and dirs to CE Docs: Merge EE doc/ci to CE Docs: Merge EE doc/user/project/issues to CE ...
Diffstat (limited to 'jest.config.js')
-rw-r--r--jest.config.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/jest.config.js b/jest.config.js
index 0868547e654..84481642250 100644
--- a/jest.config.js
+++ b/jest.config.js
@@ -2,6 +2,10 @@ const IS_EE = require('./config/helpers/is_ee_env');
const reporters = ['default'];
+// To have consistent date time parsing both in local and CI environments we set
+// the timezone of the Node process. https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/27738
+process.env.TZ = 'GMT';
+
if (process.env.CI) {
reporters.push([
'jest-junit',