chore: TZ=UTC for unit testing

This commit is contained in:
ShareVB committed 2025-01-12 21:53:43 +01:00
1 parent ce661be5ed
commit 35600c2990
1 file changed
+4 -4
+4 -4
View File
@@ -25,10 +25,10 @@
"dev": "vite", "dev": "vite",
"build": "vue-tsc --noEmit && . ./set_node_mem.sh && vite build", "build": "vue-tsc --noEmit && . ./set_node_mem.sh && vite build",
"preview": "vite preview --port 5050", "preview": "vite preview --port 5050",
"test": "npm run test:unit", "test": "TZ=UTC npm run test:unit",
"test:unit": "vitest --environment jsdom", "test:unit": "TZ=UTC vitest --environment jsdom",
"test:e2e": "playwright test", "test:e2e": "TZ=UTC playwright test",
"test:e2e:dev": "BASE_URL=http://localhost:5173 NO_WEB_SERVER=true playwright test", "test:e2e:dev": "TZ=UTC BASE_URL=http://localhost:5173 NO_WEB_SERVER=true playwright test",
"coverage": "vitest run --coverage", "coverage": "vitest run --coverage",
"typecheck": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false", "typecheck": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false",
"lint": "eslint src --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --ignore-path .gitignore", "lint": "eslint src --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --ignore-path .gitignore",