mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-27 14:23:05 +00:00
style: prettier
This commit is contained in:
parent
6030d42e2f
commit
6f4402dab6
1 changed files with 3 additions and 8 deletions
|
|
@ -1,13 +1,6 @@
|
||||||
import { describe, expect, it } from 'vitest'
|
import { describe, expect, it } from 'vitest'
|
||||||
|
|
||||||
import { CAMPAIGN_WIZARD_ACTION_SLUGS } from '@/lib/campaignActionRoutes'
|
import { CAMPAIGN_WIZARD_ACTION_SLUGS } from '@/lib/campaignActionRoutes'
|
||||||
import {
|
|
||||||
isMunicipalitiesListPath,
|
|
||||||
parseMunicipalityDetailSlug,
|
|
||||||
resolveMunicipalityDetailQuickActions,
|
|
||||||
resolveMunicipalityListQuickActions,
|
|
||||||
resolveMunicipalityQuickActionsForPath,
|
|
||||||
} from '@/lib/campaignMunicipalityQuickActions'
|
|
||||||
import { UNCOVERED_MUNICIPALITIES_LIST_HREF } from '@/lib/campaignHomeActions'
|
import { UNCOVERED_MUNICIPALITIES_LIST_HREF } from '@/lib/campaignHomeActions'
|
||||||
|
|
||||||
const wizardActionIds = [
|
const wizardActionIds = [
|
||||||
|
|
@ -83,6 +76,8 @@ describe('resolveMunicipalityQuickActionsForPath', () => {
|
||||||
'coordinator',
|
'coordinator',
|
||||||
{ municipalitySlug: 'cairu' },
|
{ municipalitySlug: 'cairu' },
|
||||||
)
|
)
|
||||||
expect(actions.find((action) => action.id === 'update-votes')?.href).toContain('municipio=cairu')
|
expect(actions.find((action) => action.id === 'update-votes')?.href).toContain(
|
||||||
|
'municipio=cairu',
|
||||||
|
)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue