Post #1434212
2026-04-19 13:32 UTC
@betabug @jdm_ @servo Normally you fix this by setting the current date and time your code sees while the test is running, e.g. in Ruby there's https://github.com/travisjeffery/timecop to mock what system date/time looks like
Replies (1)
-
@betabug@mastodon.sdf.org 2026-04-19 14:26
@thomasfuchs @jdm_ @servo I didn't say that I wrote these tests, I said that I fixed them ;-)