Skip to content

Commit 35600c2

Browse files
committed
chore: TZ=UTC for unit testing
1 parent ce661be commit 35600c2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
"dev": "vite",
2626
"build": "vue-tsc --noEmit && . ./set_node_mem.sh && vite build",
2727
"preview": "vite preview --port 5050",
28-
"test": "npm run test:unit",
29-
"test:unit": "vitest --environment jsdom",
30-
"test:e2e": "playwright test",
31-
"test:e2e:dev": "BASE_URL=http://localhost:5173 NO_WEB_SERVER=true playwright test",
28+
"test": "TZ=UTC npm run test:unit",
29+
"test:unit": "TZ=UTC vitest --environment jsdom",
30+
"test:e2e": "TZ=UTC playwright test",
31+
"test:e2e:dev": "TZ=UTC BASE_URL=http://localhost:5173 NO_WEB_SERVER=true playwright test",
3232
"coverage": "vitest run --coverage",
3333
"typecheck": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false",
3434
"lint": "eslint src --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --ignore-path .gitignore",

0 commit comments

Comments
 (0)