From 2d4a5a30f73c34fc54a90ae41b0c1cb3f6d14188 Mon Sep 17 00:00:00 2001 From: Mir Arif Hasan Date: Wed, 8 Feb 2023 16:55:48 +0600 Subject: [PATCH] test: instance create error commenting mockFB --- .../src/team-collection/team-collection.service.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, );