Javascript – Mock new Date() in Deno
I'm wondering if anyone has been able to implement something like jest.spyOn(global, 'Date').mockImplementation(() => now); inside of Deno. I have looked through the documentation for the mock in the Deno documentation here and I have looked through the mock time…