From f416d76ba9335c89ee4f8df8429137115a86ba59 Mon Sep 17 00:00:00 2001 From: ShareVB Date: Sun, 26 Jan 2025 20:53:41 +0100 Subject: [PATCH] chore: add TZ=UTC for unit testing --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index c71ce9e9..192038da 100644 --- a/package.json +++ b/package.json @@ -25,10 +25,10 @@ "dev": "vite", "build": "vue-tsc --noEmit && NODE_OPTIONS=--max_old_space_size=4096 vite build", "preview": "vite preview --port 5050", - "test": "npm run test:unit", - "test:unit": "vitest --environment jsdom", - "test:e2e": "playwright test", - "test:e2e:dev": "BASE_URL=http://localhost:5173 NO_WEB_SERVER=true playwright test", + "test": "TZ=UTC npm run test:unit", + "test:unit": "TZ=UTC vitest --environment jsdom", + "test:e2e": "TZ=UTC playwright test", + "test:e2e:dev": "TZ=UTC BASE_URL=http://localhost:5173 NO_WEB_SERVER=true playwright test", "coverage": "vitest run --coverage", "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",