Testing custom repositories (NestJS/TypeORM)
Custom repositories extend the base repository class and enrich it with several additional methods. This post covers unit and integration testing.
// user.repository.ts
@Injectable()
export class UserRepository extends Repository<UserEntity> {
cons...
zsevic.hashnode.dev2 min read