Set jest time zone, otherwise the test will fail in other time zones

This commit is contained in:
sanlengjingvv 2021-03-22 14:11:40 +08:00
parent 0650f132e9
commit 6968c7dd7c

View File

@ -2,7 +2,7 @@
"name": "mitmproxy", "name": "mitmproxy",
"private": true, "private": true,
"scripts": { "scripts": {
"test": "jest --coverage", "test": "TZ=UTC jest --coverage",
"build": "gulp prod", "build": "gulp prod",
"start": "gulp" "start": "gulp"
}, },