diff --git a/app/routes/leagues/__tests__/settings-update.test.ts b/app/routes/leagues/__tests__/settings-update.test.ts index 56d0c1d..059fa49 100644 --- a/app/routes/leagues/__tests__/settings-update.test.ts +++ b/app/routes/leagues/__tests__/settings-update.test.ts @@ -463,11 +463,11 @@ describe('Settings Update - Team Count Changes', () => { // Mirrors the server action condition: existingSlots.length === currentTeamCount // --------------------------------------------------------------------------- -describe('Settings Update - Draft Slot Creation Guard', () => { - function shouldAppendDraftSlots(existingSlotsCount: number, currentTeamCount: number): boolean { - return existingSlotsCount === currentTeamCount; - } +function shouldAppendDraftSlots(existingSlotsCount: number, currentTeamCount: number): boolean { + return existingSlotsCount === currentTeamCount; +} +describe('Settings Update - Draft Slot Creation Guard', () => { it('does not create slots when no draft order was ever set', () => { expect(shouldAppendDraftSlots(0, 12)).toBe(false); });