From 2123bc65873e026cb8b0fd26816a6b1980bd19ce Mon Sep 17 00:00:00 2001 From: Joshua Li Date: Mon, 22 Nov 2021 19:01:03 -0800 Subject: [PATCH] Force cypress to use PDT time (#41) (#42) Signed-off-by: Joshua Li --- gantt-chart/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gantt-chart/package.json b/gantt-chart/package.json index 7756b75..dfe61fc 100644 --- a/gantt-chart/package.json +++ b/gantt-chart/package.json @@ -13,7 +13,8 @@ "build": "yarn plugin-helpers build", "plugin-helpers": "node ../../scripts/plugin_helpers", "test": "../../node_modules/.bin/jest --config ./test/jest.config.js", - "test:cypress": "cypress run" + "cypress:run": "TZ=America/Los_Angeles cypress run", + "cypress:open": "TZ=America/Los_Angeles cypress open" }, "dependencies": { "plotly.js-dist": "^1.57.1",