mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-23 17:40:23 +03:00
Fixed ilegal rendering of trinside div in DomainRow test
This commit is contained in:
parent
64ee9a39cc
commit
d44be88b3f
1 changed files with 11 additions and 7 deletions
|
@ -17,13 +17,17 @@ describe('<DomainRow />', () => {
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
const setUp = (domain: Domain, defaultRedirects?: ShlinkDomainRedirects) => render(
|
const setUp = (domain: Domain, defaultRedirects?: ShlinkDomainRedirects) => render(
|
||||||
|
<table>
|
||||||
|
<tbody>
|
||||||
<DomainRow
|
<DomainRow
|
||||||
domain={domain}
|
domain={domain}
|
||||||
defaultRedirects={defaultRedirects}
|
defaultRedirects={defaultRedirects}
|
||||||
selectedServer={Mock.all<SelectedServer>()}
|
selectedServer={Mock.all<SelectedServer>()}
|
||||||
editDomainRedirects={jest.fn()}
|
editDomainRedirects={jest.fn()}
|
||||||
checkDomainHealth={jest.fn()}
|
checkDomainHealth={jest.fn()}
|
||||||
/>,
|
/>
|
||||||
|
</tbody>
|
||||||
|
</table>,
|
||||||
);
|
);
|
||||||
|
|
||||||
it.each(redirectsCombinations)('shows expected redirects', (redirects) => {
|
it.each(redirectsCombinations)('shows expected redirects', (redirects) => {
|
||||||
|
|
Loading…
Reference in a new issue