diff --git a/test/types/models.test.ts b/test/types/models.test.ts index 6761f031456..61298be836d 100644 --- a/test/types/models.test.ts +++ b/test/types/models.test.ts @@ -896,7 +896,7 @@ function gh4727() { const users = [{ _id: new mongoose.Types.ObjectId(), name: 'Val' }]; const company = { _id: new mongoose.Types.ObjectId(), name: 'Booster', users: [users[0]] }; - return Company.hydrate(company, {}, { hydratedPopulatedDocs: true }) + return Company.hydrate(company, {}, { hydratedPopulatedDocs: true }); }