Skip to content

Commit

Permalink
chore: remove extraneous headers
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Aug 27, 2024
1 parent 62c6a20 commit 16df3da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/model.populate.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11073,9 +11073,9 @@ describe('model: populate:', function() {

await owner.save();

assert.equal(typeof pet._doc.owner.$__.wasPopulated.value, 'object'); // object 😀
await pet.populate('owner'); // This breaks it 💥💥💥💥💥💥💥💥💥💥
assert.equal(typeof pet._doc.owner.$__.wasPopulated.value, 'object'); // string 🙁
assert.equal(typeof pet._doc.owner.$__.wasPopulated.value, 'object');
await pet.populate('owner');
assert.equal(typeof pet._doc.owner.$__.wasPopulated.value, 'object');

await pet.save();

Expand Down

0 comments on commit 16df3da

Please sign in to comment.