(d: number)
| 83 | it('on near-equal relevance, the more RECENT approach surfaces first', () => { |
| 84 | const now = Date.parse('2026-07-01T00:00:00Z'); |
| 85 | const iso = (d: number) => new Date(now - d * 86_400_000).toISOString(); |
| 86 | const two = [ |
| 87 | { kind: 'episode' as const, text: 'add login auth flow', when: 'old', at: iso(200) }, // stale |
| 88 | { kind: 'episode' as const, text: 'add login auth flow', when: 'new', at: iso(2) }, // recent |
no outgoing calls
no test coverage detected