mirror of
https://github.com/bitsofchris/openaugi-obsidian-plugin.git
synced 2026-07-22 12:40:27 +00:00
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> |
||
|---|---|---|
| .. | ||
| mocks | ||
| vault | ||
| context-gathering-service.test.ts | ||
| distill-service.test.ts | ||
| file-service.test.ts | ||
| filename-utils.test.ts | ||
| openai-service.test.ts | ||
| task-dispatch-service.test.ts | ||
| task-file-service.test.ts | ||