Update tests for Sept 1 saints removal
Deploy / deploy (push) Successful in 1m28s

september-sanctoral.test.ts: Sept 1 now resolves to a plain temporal
day with no commemorations; the Raymond Nonnatus transfer-collision
case now wins uncontested since the native Sept 1 saints are gone.

vespers.test.ts: the semiduplex-keeps-its-own-Vespers-against-a-
lower-ranked-tomorrow regression test used Raymond Nonnatus vs. St.
Giles as its example pair; re-pointed to St. Agatha (semiduplex) vs.
St. Dorothea (simplex), a different adjacent pair that exercises the
same concurrentia rule.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017XMSokiTD2Qc5vPP2YQu3Q
This commit is contained in:
2026-09-01 06:24:20 -04:00
parent 64271befee
commit 45c1f4e958
2 changed files with 14 additions and 22 deletions
+9 -7
View File
@@ -92,16 +92,18 @@ describe('resolveEveningDay', () => {
});
it('a higher-ranked today keeps its own Second Vespers against a lower-ranked tomorrow, even below the old duplex-2-classis floor', () => {
// Aug 31, 2026: St. Raymond Nonnatus (Semiduplex) vs. Sep 1's St. Giles
// (Simplex). Raymond outranks Giles, so Raymond should keep his own
// Feb 5, 2026: St. Agatha (Semiduplex) vs. Feb 6's St. Dorothea
// (Simplex). Agatha outranks Dorothea, so Agatha should keep her own
// evening even though Semiduplex never cleared the old fixed
// duplex-2-classis floor -- the real "De Concurrentia Officii" rule is a
// direct comparison against tomorrow's rank, not a fixed threshold on
// today alone. Reported by the user 2026-08-31.
const day = resolveEveningDay('2026-08-31');
expect(day.date).toBe('2026-08-31');
expect(day.winner).toMatchObject({ kind: 'sanctoral', id: 'st-raymond-nonnatus' });
expect(day.commemorations).toContainEqual(expect.objectContaining({ kind: 'sanctoral', id: 'st-giles', vespersNote: 'tomorrow' }));
// today alone. Originally reported by the user 2026-08-31 against Aug
// 31/Sep 1 (St. Raymond Nonnatus vs. St. Giles); re-pointed at this pair
// once St. Giles was dropped from the Sept 1 calendar (2026-09-01).
const day = resolveEveningDay('2026-02-05');
expect(day.date).toBe('2026-02-05');
expect(day.winner).toMatchObject({ kind: 'sanctoral', id: 'st-agatha' });
expect(day.commemorations).toContainEqual(expect.objectContaining({ kind: 'sanctoral', id: 'st-dorothea', vespersNote: 'tomorrow' }));
});
it('an exact rank tie goes to tomorrow, per the rubric\'s tie-break', () => {