mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-13 23:25:18 +00:00
fix(test): drop obsolete municipalitySlug/formAction props from MunicipalityListAdvisorsControl test after B27 rebase merge
This commit is contained in:
parent
7c50e29aa7
commit
a4b62c1a9a
1 changed files with 0 additions and 4 deletions
|
|
@ -567,12 +567,10 @@ describe('campaign visual foundation', () => {
|
|||
const withAdvisors = renderToStaticMarkup(
|
||||
createElement(MunicipalityListAdvisorsControl, {
|
||||
municipalityID: 1,
|
||||
municipalitySlug: 'seabra',
|
||||
currentAdvisorIDs: [7],
|
||||
isPriority: false,
|
||||
advisorNamesById: new Map([[7, { id: 7, name: 'Ana Bastos', phone: null }]]),
|
||||
options: [],
|
||||
formAction: noopListFormAction,
|
||||
}),
|
||||
)
|
||||
expect(withAdvisors.match(/data-slot="tooltip-trigger"/g)).toHaveLength(1)
|
||||
|
|
@ -585,12 +583,10 @@ describe('campaign visual foundation', () => {
|
|||
const withoutAdvisors = renderToStaticMarkup(
|
||||
createElement(MunicipalityListAdvisorsControl, {
|
||||
municipalityID: 1,
|
||||
municipalitySlug: 'seabra',
|
||||
currentAdvisorIDs: [],
|
||||
isPriority: false,
|
||||
advisorNamesById: new Map(),
|
||||
options: [],
|
||||
formAction: noopListFormAction,
|
||||
}),
|
||||
)
|
||||
expect(withoutAdvisors).not.toContain('data-slot="tooltip-trigger"')
|
||||
|
|
|
|||
Loading…
Reference in a new issue