set default timezone to UTC for test runs

This commit is contained in:
Jake McDermott
2019-08-08 14:48:01 -04:00
committed by Marliana Lara
parent 475645f604
commit 2a926fffd9
3 changed files with 9 additions and 15 deletions

View File

@@ -5,8 +5,8 @@
"main": "index.jsx",
"scripts": {
"start": "webpack-dev-server --config ./webpack.config.js --mode development",
"test": "jest --coverage",
"test-watch": "jest --watch",
"test": "TZ='UTC' jest --coverage",
"test-watch": "TZ='UTC' jest --watch",
"lint": "eslint --ext .js --ext .jsx .",
"add-locale": "lingui add-locale",
"extract-strings": "lingui extract",