Skip to content

Commit b8d40f1

Browse files
committed
fix merge conflicts
1 parent 9ce4153 commit b8d40f1

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

test/document.test.js

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12391,22 +12391,6 @@ describe('document', function() {
1239112391
assert.strictEqual(nestedProjectionDoc.sub.propertyA, 'A');
1239212392
});
1239312393

12394-
<<<<<<< HEAD
12395-
it('should ignore `id` if the object contains `id` and `_id` as keys (gh-13762)', async function() {
12396-
const testSchema = new Schema({
12397-
_id: {
12398-
type: Number
12399-
}
12400-
});
12401-
const Test = db.model('Test', testSchema);
12402-
12403-
const x = new Test({ _id: 1, id: 2 });
12404-
await x.save();
12405-
const fromDb = await Test.findById(x._id).lean();
12406-
assert.equal(fromDb._id, 1);
12407-
});
12408-
=======
12409-
>>>>>>> master
1241012394
it('handles bigint (gh-13791)', async function() {
1241112395
const testSchema = new mongoose.Schema({
1241212396
n: Number,

0 commit comments

Comments
 (0)