Set timezone for karma to UTC

This commit is contained in:
Takuya Noguchi 2018-01-21 15:16:25 +09:00
parent ba02e3a5df
commit da3faca7be
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 = {