Vitest timezone mocking: inconsistent Date behavior across environments
Problem Overview Vitest uses the Node.js Date implementation, which follows the process.env.TZ setting. When tests involve date‑manipulation libraries such as date‑fns‑tz , the output can vary between a developer’s machine and CI runners that have different default time zones. Current Constraints Vitest provides no built‑in helper to override or mock the sys