import { defineConfig } from 'vitest/config' export default defineConfig({ test: { environment: 'jsdom', globals: true, setupFiles: ['./src/test-setup.ts'], // Pin test runner timezone to UTC so WR-05 date-extraction tests are deterministic // regardless of the developer's local machine zone or CI runner zone. // With TZ=UTC, new Date('2026-06-10T23:30:00-04:00').getFullYear() etc. return the // UTC wall-clock values, making assertions stable across EDT/PST/UTC environments. env: { TZ: 'UTC' }, }, })