From 6968c7dd7c4d7539ef252637e90f2d20c608ce42 Mon Sep 17 00:00:00 2001 From: sanlengjingvv Date: Mon, 22 Mar 2021 14:11:40 +0800 Subject: [PATCH] Set jest time zone, otherwise the test will fail in other time zones --- web/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/package.json b/web/package.json index 187b29800..4220d59e8 100644 --- a/web/package.json +++ b/web/package.json @@ -2,7 +2,7 @@ "name": "mitmproxy", "private": true, "scripts": { - "test": "jest --coverage", + "test": "TZ=UTC jest --coverage", "build": "gulp prod", "start": "gulp" },