mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-26 21:53:06 +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(
|
const withAdvisors = renderToStaticMarkup(
|
||||||
createElement(MunicipalityListAdvisorsControl, {
|
createElement(MunicipalityListAdvisorsControl, {
|
||||||
municipalityID: 1,
|
municipalityID: 1,
|
||||||
municipalitySlug: 'seabra',
|
|
||||||
currentAdvisorIDs: [7],
|
currentAdvisorIDs: [7],
|
||||||
isPriority: false,
|
isPriority: false,
|
||||||
advisorNamesById: new Map([[7, { id: 7, name: 'Ana Bastos', phone: null }]]),
|
advisorNamesById: new Map([[7, { id: 7, name: 'Ana Bastos', phone: null }]]),
|
||||||
options: [],
|
options: [],
|
||||||
formAction: noopListFormAction,
|
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
expect(withAdvisors.match(/data-slot="tooltip-trigger"/g)).toHaveLength(1)
|
expect(withAdvisors.match(/data-slot="tooltip-trigger"/g)).toHaveLength(1)
|
||||||
|
|
@ -585,12 +583,10 @@ describe('campaign visual foundation', () => {
|
||||||
const withoutAdvisors = renderToStaticMarkup(
|
const withoutAdvisors = renderToStaticMarkup(
|
||||||
createElement(MunicipalityListAdvisorsControl, {
|
createElement(MunicipalityListAdvisorsControl, {
|
||||||
municipalityID: 1,
|
municipalityID: 1,
|
||||||
municipalitySlug: 'seabra',
|
|
||||||
currentAdvisorIDs: [],
|
currentAdvisorIDs: [],
|
||||||
isPriority: false,
|
isPriority: false,
|
||||||
advisorNamesById: new Map(),
|
advisorNamesById: new Map(),
|
||||||
options: [],
|
options: [],
|
||||||
formAction: noopListFormAction,
|
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
expect(withoutAdvisors).not.toContain('data-slot="tooltip-trigger"')
|
expect(withoutAdvisors).not.toContain('data-slot="tooltip-trigger"')
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue