Merge pull request #9491 from backstage/freben/facets

catalog-backend: add support for querying facets
This commit is contained in:
Fredrik Adelöw
2022-02-18 14:14:36 +01:00
committed by GitHub
36 changed files with 652 additions and 102 deletions
@@ -51,6 +51,7 @@ function mockCatalogClient(entity?: Entity): jest.Mocked<CatalogApi> {
removeEntityByUid: jest.fn(),
refreshEntity: jest.fn(),
getEntityAncestors: jest.fn(),
getEntityFacets: jest.fn(),
};
if (entity) {
mock.getEntityByName.mockReturnValue(entity);