Merge branch '42251-explicit-timezone-for-karma' into 'master'

Set timezone for karma CI job to Etc/UTC (UTC+0)

Closes #42251

See merge request gitlab-org/gitlab-ce!16602
This commit is contained in:
Mike Greiling 2018-01-23 22:37:14 +00:00
commit 74da79113b
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,5 @@
---
title: Set timezone for karma to UTC
merge_request: 16602
author: Takuya Noguchi
type: other

View File

@ -18,6 +18,8 @@ webpackConfig.devtool = 'cheap-inline-source-map';
// Karma configuration
module.exports = function(config) {
process.env.TZ = 'Etc/UTC';
var progressReporter = process.env.CI ? 'mocha' : 'progress';
var karmaConfig = {