chore: add TZ=UTC for unit testing
This commit is contained in:
		
							parent
							
								
									3d4ee138ad
								
							
						
					
					
						commit
						f416d76ba9
					
				| @ -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", | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user