tests/unit/delegation/delegation.service.spec.ts(91,7): error TS2345: Argument of type 'RepositoryMock' is not assignable to parameter of type 'Repository'. Type 'RepositoryMock' is missing the following properties from type 'Repository': target, manager, metadata, hasId, and 38 more. tests/unit/delegation/delegation.service.spec.ts(93,7): error TS2352: Conversion of type '{ wouldCreateCircle: jest.Mock; }' to type 'CircularDetectionService' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. Type '{ wouldCreateCircle: Mock; }' is missing the following properties from type 'CircularDetectionService': delegationRepo, dfsHasCycle tests/unit/distribution/distribution-matrix.service.spec.ts(42,7): error TS2345: Argument of type 'RepositoryMock' is not assignable to parameter of type 'Repository'. Type 'RepositoryMock' is missing the following properties from type 'Repository': target, manager, metadata, createQueryBuilder, and 37 more. tests/unit/distribution/distribution-matrix.service.spec.ts(77,7): error TS2345: Argument of type 'RepositoryMock' is not assignable to parameter of type 'Repository'. Type 'RepositoryMock' is missing the following properties from type 'Repository': target, manager, metadata, createQueryBuilder, and 37 more. tests/unit/distribution/transmittal-creator.service.spec.ts(37,7): error TS2345: Argument of type 'MatrixRepositoryMock' is not assignable to parameter of type 'Repository'. Type 'MatrixRepositoryMock' is missing the following properties from type 'Repository': target, manager, metadata, createQueryBuilder, and 41 more. tests/unit/review-team/task-creation-delegation.service.spec.ts(28,3): error TS2322: Type 'Mock], unknown>' is not assignable to type 'MockInstance, plainObjects?: unknown[] | undefined], unknown> & { >(entityClass: EntityTarget, plainObject?: EntityLike | undefined): Entity; >(entityClass: EntityTarge...'. Type 'Mock], unknown>' is not assignable to type 'MockInstance, plainObjects?: unknown[] | undefined], unknown>'. Types of property 'mock' are incompatible. Type 'MockContext], unknown>' is not assignable to type 'MockContext, plainObjects?: unknown[] | undefined], unknown>'. Type 'ReviewTask' is missing the following properties from type 'unknown[]': length, pop, push, concat, and 28 more. tests/unit/review-team/task-creation-delegation.service.spec.ts(32,3): error TS2322: Type 'Mock, [_entity: typeof ReviewTask, payload: ReviewTask], unknown>' is not assignable to type 'MockInstance, [targetOrEntity: EntityTarget, entity: unknown, options?: SaveOptions | undefined], unknown> & { (entities: Entity[], options?: SaveOptions | undefined): Promise<...>; (entity: Entity, options?: SaveOptions | undefined): Promise<...>; , [_entity: typeof ReviewTask, payload: ReviewTask], unknown>' is not assignable to type 'MockInstance, [targetOrEntity: EntityTarget, entity: unknown, options?: SaveOptions | undefined], unknown>'. The types returned by 'getMockImplementation()' are incompatible between these types. Type '((_entity: typeof ReviewTask, payload: ReviewTask) => Promise) | undefined' is not assignable to type '((targetOrEntity: EntityTarget, entity: unknown, options?: SaveOptions | undefined) => Promise) | undefined'. Type '(_entity: typeof ReviewTask, payload: ReviewTask) => Promise' is not assignable to type '(targetOrEntity: EntityTarget, entity: unknown, options?: SaveOptions | undefined) => Promise'. Types of parameters '_entity' and 'targetOrEntity' are incompatible. Type 'EntityTarget' is not assignable to type 'typeof ReviewTask'. Type 'string' is not assignable to type 'typeof ReviewTask'. tests/unit/review-team/task-creation-delegation.service.spec.ts(51,21): error TS2554: Expected 5 arguments, but got 4. tests/unit/review-team/task-creation-delegation.service.spec.ts(52,7): error TS2352: Conversion of type 'Mocked>' to type 'Repository' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. Type 'Mocked>' is missing the following properties from type 'Repository': target, manager, metadata, createQueryBuilder, and 40 more. tests/unit/review-team/task-creation-delegation.service.spec.ts(53,7): error TS2352: Conversion of type 'Mocked>' to type 'Repository' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. Type 'Mocked>' is missing the following properties from type 'Repository': target, manager, metadata, createQueryBuilder, and 40 more. tests/unit/review-team/task-creation-delegation.service.spec.ts(54,7): error TS2352: Conversion of type 'Mocked>' to type 'Repository' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. Type 'Mocked>' is missing the following properties from type 'Repository': target, manager, metadata, createQueryBuilder, and 40 more. tests/unit/review-team/task-creation-delegation.service.spec.ts(55,7): error TS2352: Conversion of type '{ findActiveDelegate: jest.Mock; }' to type 'DelegationService' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. Type '{ findActiveDelegate: Mock; }' is missing the following properties from type 'DelegationService': logger, delegationRepo, userRepo, circularDetectionService, and 3 more. tests/unit/review-team/task-creation-delegation.service.spec.ts(80,7): error TS2352: Conversion of type 'Mocked' to type 'EntityManager' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. Type 'Mocked' is missing the following properties from type 'EntityManager': "@instanceof", connection, repositories, treeRepositories, and 48 more.