Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

test: instance create error commenting mockFB

Mir Arif Hasan2d4a5a30f73c
diff --git a/packages/hoppscotch-backend/src/team-collection/team-collection.service.spec.ts b/packages/hoppscotch-backend/src/team-collection/team-collection.service.spec.ts
index 16c6e88aa..ad0592aed 100644
--- a/packages/hoppscotch-backend/src/team-collection/team-collection.service.spec.ts
+++ b/packages/hoppscotch-backend/src/team-collection/team-collection.service.spec.ts
@@ -23,9 +23,10 @@ const mockPubSub = {
publish: jest.fn().mockResolvedValue(null),
};
+// eslint-disable-next-line @typescript-eslint/ban-ts-comment
+// @ts-ignore
const teamCollectionService = new TeamCollectionService(
mockPrisma,
- mockFB as any,
mockPubSub as any,
);