Commit graph

2 commits

Author SHA1 Message Date
Chris Lettieri
cbc0c1b471 test: make distill date-range filter test deterministic
The 'filters content by date range' test used fixed fixture dates
(### 2026-02-25) inside a 30-day window, so it passed only while the
real clock was within 30 days of that date and began failing as the
current date advanced. extractContentByDateRange is correct; it uses
new Date() as "now". Pin the system clock with vi.setSystemTime so the
fixed fixture dates evaluate deterministically regardless of the wall
clock.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-07 08:27:40 -04:00
Chris Lettieri
2d3c5d75ec mock api testing 2026-02-25 08:03:28 -05:00