mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-13 15:13:07 +00:00
Replaces the post-municipality stub with a full wizard: tile grid, contact+leadership writes, entryAction skip, and Continuar after save.
17 lines
585 B
TypeScript
17 lines
585 B
TypeScript
import { describe, expect, it } from 'vitest'
|
|
|
|
import { showLeadershipWizardSkip } from '@/lib/wizardLeadershipContract'
|
|
|
|
describe('showLeadershipWizardSkip', () => {
|
|
it('hides skip for standalone entry (implicit update-leadership)', () => {
|
|
expect(showLeadershipWizardSkip(undefined)).toBe(false)
|
|
})
|
|
|
|
it('hides skip when entry is update-leadership', () => {
|
|
expect(showLeadershipWizardSkip('update-leadership')).toBe(false)
|
|
})
|
|
|
|
it('shows skip when embedded from another wizard action', () => {
|
|
expect(showLeadershipWizardSkip('update-votes')).toBe(true)
|
|
})
|
|
})
|