Updated tests to include validateEntity in mocks
Signed-off-by: Taras <tarasm@gmail.com>
This commit is contained in:
@@ -53,6 +53,7 @@ function mockCatalogClient(entity?: Entity): jest.Mocked<CatalogApi> {
|
||||
refreshEntity: jest.fn(),
|
||||
getEntityAncestors: jest.fn(),
|
||||
getEntityFacets: jest.fn(),
|
||||
validateEntity: jest.fn(),
|
||||
};
|
||||
if (entity) {
|
||||
mock.getEntityByRef.mockReturnValue(entity);
|
||||
|
||||
Reference in New Issue
Block a user