Skip to content

Commit

Permalink
Update test/model.updateOne.test.js
Browse files Browse the repository at this point in the history
Co-authored-by: hasezoey <hasezoey@gmail.com>
  • Loading branch information
vkarpov15 and hasezoey authored Dec 5, 2024
1 parent 76c745c commit 7cbb295
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/model.updateOne.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3091,6 +3091,7 @@ describe('model: updateOne: ', function() {
assert.equal(doc.login.keys.length, 1);
assert.equal(doc.login.keys[0].id, 'test2');
});

it('casts using overwritten discriminator key schema (gh-15051)', async function() {
const embedDiscriminatorSchema = new mongoose.Schema({
field1: String
Expand Down

0 comments on commit 7cbb295

Please sign in to comment.