mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-12 18:43:50 +00:00
Fixed invalid DOM in ManageServers test
This commit is contained in:
@@ -14,7 +14,7 @@ describe('<ManageServers />', () => {
|
||||
serversExporter,
|
||||
() => <span>ImportServersBtn</span>,
|
||||
useTimeoutToggle,
|
||||
({ hasAutoConnect }) => <span>ManageServersRow {hasAutoConnect ? '[YES]' : '[NO]'}</span>,
|
||||
({ hasAutoConnect }) => <tr><td>ManageServersRow {hasAutoConnect ? '[YES]' : '[NO]'}</td></tr>,
|
||||
);
|
||||
const createServerMock = (value: string, autoConnect = false) => Mock.of<ServerWithId>(
|
||||
{ id: value, name: value, url: value, autoConnect },
|
||||
|
||||
Reference in New Issue
Block a user