Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

fixed marketplace issues

Blue Mousef6bcd63e69ef
diff --git a/src/marketplace/categories/categories.controller.spec.ts b/src/marketplace/categories/categories.controller.spec.ts
index 20f0d9828..fc3f6db07 100644
--- a/src/marketplace/categories/categories.controller.spec.ts
+++ b/src/marketplace/categories/categories.controller.spec.ts
@@ -1,7 +1,5 @@
import { Test, TestingModule } from '@nestjs/testing'
-import { getRepositoryToken, TypeOrmModule } from '@nestjs/typeorm'
-import { UserModule } from 'src/user/user.module'
-import { Repository } from 'typeorm'
+import { getRepositoryToken } from '@nestjs/typeorm'
import { User } from 'src/user/entities/user.entity'
import { CategoriesController } from './categories.controller'
import { CategoriesService } from './categories.service'
diff --git a/src/marketplace/categories/categories.service.spec.ts b/src/marketplace/categories/categories.service.spec.ts
index 2ec2e89ee..3fe854481 100644
--- a/src/marketplace/categories/categories.service.spec.ts
+++ b/src/marketplace/categories/categories.service.spec.ts
@@ -6,6 +6,7 @@ import { Category } from './category.entity'
describe('CategoriesService', () => {
let service: CategoriesService
+ // eslint-disable-next-line no-unused-vars
let repository: Repository<Category>
const CATEGORY_REPOSITORY_TOKEN = getRepositoryToken(Category)
diff --git a/src/marketplace/cdn/cdn.service.spec.ts b/src/marketplace/cdn/cdn.service.spec.ts
index 2e97e3abe..77712814d 100644
--- a/src/marketplace/cdn/cdn.service.spec.ts
+++ b/src/marketplace/cdn/cdn.service.spec.ts
@@ -1,5 +1,3 @@
-import { HttpService } from '@nestjs/axios'
-import { ConfigService } from '@nestjs/config'
import { Test, TestingModule } from '@nestjs/testing'
import { CdnService } from './cdn.service'