tests/unit/delegation/delegation.service.spec.ts(91,7): error TS2345: Argument of type 'RepositoryMock<Delegation>' is not assignable to parameter of type 'Repository<Delegation>'.
  Type 'RepositoryMock<Delegation>' is missing the following properties from type 'Repository<Delegation>': target, manager, metadata, hasId, and 38 more.
tests/unit/delegation/delegation.service.spec.ts(93,7): error TS2352: Conversion of type '{ wouldCreateCircle: jest.Mock<any, any, any>; }' 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<any, any, any>; }' 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<DistributionMatrix>' is not assignable to parameter of type 'Repository<DistributionMatrix>'.
  Type 'RepositoryMock<DistributionMatrix>' is missing the following properties from type 'Repository<DistributionMatrix>': target, manager, metadata, createQueryBuilder, and 37 more.
tests/unit/distribution/distribution-matrix.service.spec.ts(77,7): error TS2345: Argument of type 'RepositoryMock<DistributionMatrix>' is not assignable to parameter of type 'Repository<DistributionMatrix>'.
  Type 'RepositoryMock<DistributionMatrix>' is missing the following properties from type 'Repository<DistributionMatrix>': 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<DistributionMatrix>'.
  Type 'MatrixRepositoryMock' is missing the following properties from type 'Repository<DistributionMatrix>': target, manager, metadata, createQueryBuilder, and 41 more.
tests/unit/review-team/task-creation-delegation.service.spec.ts(28,3): error TS2322: Type 'Mock<ReviewTask, [_entity: typeof ReviewTask, payload: Partial<ReviewTask>], unknown>' is not assignable to type 'MockInstance<unknown[], [entityClass: EntityTarget<unknown>, plainObjects?: unknown[] | undefined], unknown> & { <Entity, EntityLike extends DeepPartial<Entity>>(entityClass: EntityTarget<Entity>, plainObject?: EntityLike | undefined): Entity; <Entity, EntityLike extends DeepPartial<Entity>>(entityClass: EntityTarge...'.
  Type 'Mock<ReviewTask, [_entity: typeof ReviewTask, payload: Partial<ReviewTask>], unknown>' is not assignable to type 'MockInstance<unknown[], [entityClass: EntityTarget<unknown>, plainObjects?: unknown[] | undefined], unknown>'.
    Types of property 'mock' are incompatible.
      Type 'MockContext<ReviewTask, [_entity: typeof ReviewTask, payload: Partial<ReviewTask>], unknown>' is not assignable to type 'MockContext<unknown[], [entityClass: EntityTarget<unknown>, 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<Promise<ReviewTask>, [_entity: typeof ReviewTask, payload: ReviewTask], unknown>' is not assignable to type 'MockInstance<Promise<unknown>, [targetOrEntity: EntityTarget<unknown>, entity: unknown, options?: SaveOptions | undefined], unknown> & { <Entity>(entities: Entity[], options?: SaveOptions | undefined): Promise<...>; <Entity>(entity: Entity, options?: SaveOptions | undefined): Promise<...>; <Entity, T extends DeepPar...'.
  Type 'Mock<Promise<ReviewTask>, [_entity: typeof ReviewTask, payload: ReviewTask], unknown>' is not assignable to type 'MockInstance<Promise<unknown>, [targetOrEntity: EntityTarget<unknown>, entity: unknown, options?: SaveOptions | undefined], unknown>'.
    The types returned by 'getMockImplementation()' are incompatible between these types.
      Type '((_entity: typeof ReviewTask, payload: ReviewTask) => Promise<ReviewTask>) | undefined' is not assignable to type '((targetOrEntity: EntityTarget<unknown>, entity: unknown, options?: SaveOptions | undefined) => Promise<unknown>) | undefined'.
        Type '(_entity: typeof ReviewTask, payload: ReviewTask) => Promise<ReviewTask>' is not assignable to type '(targetOrEntity: EntityTarget<unknown>, entity: unknown, options?: SaveOptions | undefined) => Promise<unknown>'.
          Types of parameters '_entity' and 'targetOrEntity' are incompatible.
            Type 'EntityTarget<unknown>' 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<RepositoryMock<ReviewTeam>>' to type 'Repository<ReviewTeam>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
  Type 'Mocked<RepositoryMock<ReviewTeam>>' is missing the following properties from type 'Repository<ReviewTeam>': 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<RepositoryMock<ReviewTeamMember>>' to type 'Repository<ReviewTeamMember>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
  Type 'Mocked<RepositoryMock<ReviewTeamMember>>' is missing the following properties from type 'Repository<ReviewTeamMember>': 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<RepositoryMock<ReviewTask>>' to type 'Repository<ReviewTask>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
  Type 'Mocked<RepositoryMock<ReviewTask>>' is missing the following properties from type 'Repository<ReviewTask>': 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<any, any, any>; }' 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<any, any, any>; }' 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<ManagerMock>' 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<ManagerMock>' is missing the following properties from type 'EntityManager': "@instanceof", connection, repositories, treeRepositories, and 48 more.
