Bruno Sabotbrunosabot.hashnode.devยทJun 30, 2024Mastering Time: Using Fake Timers with VitestPhoto by Aron Visuals on Unsplash In the world of testing, controlling time can be a real challenge. Real-world timers, like setTimeout() and setInterval(), can be cumbersome when writing unit tests: without the right technique, you will introduce ex...JavaScriptAdd a thoughtful commentNo comments yetBe the first to start the conversation.