mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-12 02:23:49 +00:00
Fixed ilegal rendering of trinside div in DomainRow test
This commit is contained in:
@@ -17,13 +17,17 @@ describe('<DomainRow />', () => {
|
|||||||
],
|
],
|
||||||
];
|
];
|
||||||
const setUp = (domain: Domain, defaultRedirects?: ShlinkDomainRedirects) => render(
|
const setUp = (domain: Domain, defaultRedirects?: ShlinkDomainRedirects) => render(
|
||||||
<DomainRow
|
<table>
|
||||||
domain={domain}
|
<tbody>
|
||||||
defaultRedirects={defaultRedirects}
|
<DomainRow
|
||||||
selectedServer={Mock.all<SelectedServer>()}
|
domain={domain}
|
||||||
editDomainRedirects={jest.fn()}
|
defaultRedirects={defaultRedirects}
|
||||||
checkDomainHealth={jest.fn()}
|
selectedServer={Mock.all<SelectedServer>()}
|
||||||
/>,
|
editDomainRedirects={jest.fn()}
|
||||||
|
checkDomainHealth={jest.fn()}
|
||||||
|
/>
|
||||||
|
</tbody>
|
||||||
|
</table>,
|
||||||
);
|
);
|
||||||
|
|
||||||
it.each(redirectsCombinations)('shows expected redirects', (redirects) => {
|
it.each(redirectsCombinations)('shows expected redirects', (redirects) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user