Unexpected DateTime.Utc(1970-01-01T00:00:00.000Z) in vitest test with yield* DateTime.now

Does somebody know why const currentDateTime = yield* DateTime.now; or rather currentDateTime.toString() might return DateTime.Utc(1970-01-01T00:00:00.000Z) (vitest test)? New date is returning the proper date.
Was this page helpful?