Frontend: set UTC timezone for tests

Signed-off-by: Dennis Ameling <dennis@dennisameling.com>
This commit is contained in:
Dennis Ameling 2023-02-04 09:20:45 +01:00 committed by Michael Mayer
parent 3e8bf2d618
commit 51fdd2303f

View file

@ -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")