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
@@ -33,6 +33,7 @@ describe('CatalogIdentityClient', () => {
getOriginLocationByEntity: jest.fn(),
getLocationByEntity: jest.fn(),
removeEntityByUid: jest.fn(),
refreshEntity: jest.fn(),
};
const tokenIssuer: jest.Mocked<TokenIssuer> = {
issueToken: jest.fn(),
@@ -68,7 +68,6 @@ beforeEach(() => {
describe('AwsALBAuthProvider', () => {
const catalogApi = {
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
addLocation: jest.fn(),
removeLocationById: jest.fn(),
getEntities: jest.fn(),
@@ -77,6 +76,7 @@ describe('AwsALBAuthProvider', () => {
getLocationById: jest.fn(),
removeEntityByUid: jest.fn(),
getEntityByName: jest.fn(),
refreshEntity: jest.fn(),
};
const mockRequest = {