How to Use Jest to Mock Luxon's DateTime.now Function
Ever try to use test-driven development when working with Luxon's DateTime.now() method and need to use the expected current timestamp in your business logic?
In this post, we are going to look at why business logic that depends on the current date a...
blog.alexkates.dev3 min read