Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
nexedi
gitlab-ce
Commits
99156dd7
Unverified
Commit
99156dd7
authored
5 years ago
by
Fatih Acet
Browse files
Options
Download
Email Patches
Plain Diff
Set timezone to GMT in Jest config
parent
26108ddb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
jest.config.js
jest.config.js
+4
-0
No files found.
jest.config.js
View file @
99156dd7
...
...
@@ -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
'
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment