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(
|
||||
<DomainRow
|
||||
domain={domain}
|
||||
defaultRedirects={defaultRedirects}
|
||||
selectedServer={Mock.all<SelectedServer>()}
|
||||
editDomainRedirects={jest.fn()}
|
||||
checkDomainHealth={jest.fn()}
|
||||
/>,
|
||||
<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) => {
|
||||
|
|
Loading…
Reference in a new issue