From 6f2822d391eb5f483dc1c82c001da2b770076e8f Mon Sep 17 00:00:00 2001 From: Mohamed Meabed Date: Thu, 2 Nov 2023 14:04:17 -0400 Subject: [PATCH] chore: update mongoose --- src/resolvers/__tests__/removeById-test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resolvers/__tests__/removeById-test.ts b/src/resolvers/__tests__/removeById-test.ts index 6af769c8..edb5baab 100644 --- a/src/resolvers/__tests__/removeById-test.ts +++ b/src/resolvers/__tests__/removeById-test.ts @@ -192,7 +192,7 @@ describe('removeById() ->', () => { 'users', 'findOne', { _id: user._id, gender: 'some' }, - Number(version[0]) == 8 ? {} : Number(version[0]) == 8 ? undefined : { projection: {} }, + Number(version[0]) == 8 ? {} : Number(version[0]) <= 6 ? undefined : { projection: {} }, ].filter(Boolean), ]);