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 (#16805)
This commit is contained in:
parent
04fd83d9da
commit
6bb0aa217c
1 changed files with 3 additions and 0 deletions
|
@ -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: './',
|
||||
|
|
Loading…
Add table
Reference in a new issue