Always use the same timezone when running unit tests

To prevent timezone sensitive tests from failing when the local
environment is set up with a different timezone.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
Rūdolfs Ošiņš
2022-08-12 15:53:02 +02:00
committed by Alexis Sellier
parent d0f376cd41
commit 032f38724e
+1 -1
View File
@@ -6,7 +6,7 @@
"build": "scripts/build",
"check": "scripts/check",
"coverage": "npx nyc report",
"test:unit": "vitest run",
"test:unit": "TZ='UTC' vitest run",
"test:components": "cypress run --component",
"test:e2e": "cypress run",
"test:open": "cypress open"