Rapid Testing with Vitest - Mocking & Spying in Vitest - Mocking Time in Vitest Your browser does not support the video tag. In this lesson, learn how to mock time with vi.setSystemTime. Links Vitest Docs - vi.setSystemTime Previous: Mock JavaScript Modules with Vitest Next: Mocking Timers in Vitest