Updated tests to include validateEntity in mocks

Signed-off-by: Taras <tarasm@gmail.com>
This commit is contained in:
Taras
2022-09-07 18:12:01 -04:00
parent 54f14d5b88
commit 93a1072a0a
14 changed files with 15 additions and 2 deletions
@@ -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);