Created MenuLayout test

This commit is contained in:
Alejandro Celaya
2021-02-28 09:28:46 +01:00
parent d7edd69e60
commit 25e53bf627
6 changed files with 94 additions and 28 deletions

View File

@@ -34,7 +34,7 @@ export const isServerWithId = (server: SelectedServer | ServerWithId): server is
!!server?.hasOwnProperty('id');
export const isReachableServer = (server: SelectedServer): server is ReachableServer =>
!!server?.hasOwnProperty('printableVersion');
!!server?.hasOwnProperty('version');
export const isNotFoundServer = (server: SelectedServer): server is NotFoundServer =>
!!server?.hasOwnProperty('serverNotFound');