0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-03-18 02:31:28 -05:00

fix(server): set unit test timezone to UTC ()

This commit is contained in:
Jonathan Jogenfors 2025-03-11 15:19:33 +01:00 committed by GitHub
parent 04fd83d9da
commit 6bb0aa217c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,6 +2,9 @@ import swc from 'unplugin-swc';
import tsconfigPaths from 'vite-tsconfig-paths';
import { defineConfig } from 'vitest/config';
// Set the timezone to UTC to avoid timezone issues during testing
process.env.TZ = 'UTC';
export default defineConfig({
test: {
root: './',