From 51fdd2303fa4dadd74c733e00338001b21d23796 Mon Sep 17 00:00:00 2001 From: Dennis Ameling Date: Sat, 4 Feb 2023 09:20:45 +0100 Subject: [PATCH] Frontend: set UTC timezone for tests Signed-off-by: Dennis Ameling --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 870d4dcdc..52066d7c2 100644 --- a/Makefile +++ b/Makefile @@ -228,7 +228,7 @@ watch-js: (cd frontend && env NODE_ENV=development npm run watch) test-js: $(info Running JS unit tests...) - (cd frontend && env NODE_ENV=development BABEL_ENV=test npm run test) + (cd frontend && env TZ=UTC NODE_ENV=development BABEL_ENV=test npm run test) acceptance: $(info Running public-mode tests in 'chromium:headless'...) (cd frontend && npm run testcafe -- chrome:headless --test-grep "^(Common|Core)\:*" --test-meta mode=public --config-file ./testcaferc.json "tests/acceptance")