feat: add default_has_deadline to ChoreSchedule and update related components for deadline management
Some checks failed
Chore App Build, Test, and Push Docker Images / build-and-push (push) Has been cancelled

This commit is contained in:
2026-02-27 10:42:43 -05:00
parent f5a752d873
commit 1777700cc8
8 changed files with 150 additions and 59 deletions

View File

@@ -450,18 +450,18 @@ describe('ScheduleModal save — interval mode', () => {
// Interval form — next occurrence label
// ---------------------------------------------------------------------------
describe('ScheduleModal interval form — next occurrence', () => {
it('shows next occurrences label in interval mode', async () => {
it('shows next occurrence label in interval mode', async () => {
const w = mountModal()
await w.findAll('.mode-btn')[1].trigger('click')
await nextTick()
expect(w.find('.next-occurrence-label').exists()).toBe(true)
})
it('next occurrences label contains "Next occurrences:"', async () => {
it('next occurrence label contains "Next occurrence:"', async () => {
const w = mountModal()
await w.findAll('.mode-btn')[1].trigger('click')
await nextTick()
expect(w.find('.next-occurrence-label').text()).toContain('Next occurrences:')
expect(w.find('.next-occurrence-label').text()).toContain('Next occurrence:')
})
})