Skip to content

Commit

Permalink
Update test/model.populate.test.js
Browse files Browse the repository at this point in the history
Co-authored-by: hasezoey <[email protected]>
  • Loading branch information
vkarpov15 and hasezoey authored Nov 19, 2024
1 parent 9ffd12e commit e93ed6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/model.populate.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11280,7 +11280,7 @@ describe('model: populate:', function() {
assert.strictEqual(doc.node[0]._id, '65c7953e-c6e9-4c2f-8328-fe2de7df560d');
});

it('avoids repopulating if forceRepopulate disabled (gh-14979)', async function() {
it('avoids repopulating if forceRepopulate is disabled (gh-14979)', async function() {
const ChildSchema = new Schema({ name: String });
const ParentSchema = new Schema({
children: [{ type: Schema.Types.ObjectId, ref: 'Child' }],
Expand Down

0 comments on commit e93ed6f

Please sign in to comment.