Fixed ilegal rendering of trinside div in DomainRow test

This commit is contained in:
Alejandro Celaya 2022-05-13 20:21:20 +02:00
parent 64ee9a39cc
commit d44be88b3f

View file

@ -17,13 +17,17 @@ describe('<DomainRow />', () => {
],
];
const setUp = (domain: Domain, defaultRedirects?: ShlinkDomainRedirects) => render(
<table>
<tbody>
<DomainRow
domain={domain}
defaultRedirects={defaultRedirects}
selectedServer={Mock.all<SelectedServer>()}
editDomainRedirects={jest.fn()}
checkDomainHealth={jest.fn()}
/>,
/>
</tbody>
</table>,
);
it.each(redirectsCombinations)('shows expected redirects', (redirects) => {