diff --git a/server/test/vitest.config.mjs b/server/test/vitest.config.mjs index 92fc027d40..071e4886f2 100644 --- a/server/test/vitest.config.mjs +++ b/server/test/vitest.config.mjs @@ -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: './',