Skip to content

Commit

Permalink
chore: update mongoose
Browse files Browse the repository at this point in the history
  • Loading branch information
meabed committed Nov 2, 2023
1 parent 7f3a71b commit 858d96a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/resolvers/__tests__/count-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,11 @@ describe('count() ->', () => {
'users',
'countDocuments',
{},
Number(version[0]) === 7
Number(version[0]) > 7
? {
limit: 1,
}
: Number(version[0]) === 7
? undefined
: {
limit: 1,
Expand Down

0 comments on commit 858d96a

Please sign in to comment.