From 4efe2888914b942dd5e2622e0532a63327b2a863 Mon Sep 17 00:00:00 2001 From: Joshua Li Date: Mon, 22 Nov 2021 22:38:27 +0000 Subject: [PATCH] Force cypress to use PDT time 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",