mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-23 09:30:31 +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(
|
||||||
<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) => {
|
||||||
|
|
Loading…
Reference in a new issue