mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-13 23:53:05 +00:00
test: fix wizard votes step props and continuity scope filter spec
Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
This commit is contained in:
parent
dbf6a7fdce
commit
0114c348d5
2 changed files with 2 additions and 1 deletions
|
|
@ -20,6 +20,7 @@ const defaultProps = {
|
|||
actionSlug: 'atualizar-votos',
|
||||
municipalityId: 1,
|
||||
municipalityName: 'Cairu',
|
||||
municipalitySlug: 'cairu',
|
||||
initialExpectedVotes: { pessimistic: 100, central: 200, optimistic: 300 },
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ describe('municipalitySlugFromRecentVisitHref', () => {
|
|||
})
|
||||
|
||||
describe('listWizardContinuitySlugs', () => {
|
||||
const scope = new Set(['itabuna', 'cairu', 'valenca', 'fora'])
|
||||
const scope = new Set(['itabuna', 'cairu', 'valenca'])
|
||||
|
||||
it('orders last-acted before visited and filters out of scope', () => {
|
||||
const continuity = listWizardContinuitySlugs({
|
||||
|
|
|
|||
Loading…
Reference in a new issue