Catalog: Add refresh button to AboutCard

Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
Johan Haals
2021-09-14 13:18:45 +02:00
parent 75fbb44219
commit dbcaa6387a
17 changed files with 142 additions and 20 deletions
@@ -50,6 +50,7 @@ function mockCatalogClient(entity?: Entity): jest.Mocked<CatalogApi> {
getLocationById: jest.fn(),
removeLocationById: jest.fn(),
removeEntityByUid: jest.fn(),
refreshEntity: jest.fn(),
};
if (entity) {
mock.getEntityByName.mockReturnValue(entity);