Merge pull request #3298 from overleaf/jpa-re-land-mongoose-latest
[misc] re-land: remove mongojs and bump mongoose GitOrigin-RevId: 02f78d52ffc2d373c8c0bc4860d3b2326a46f5c9
This commit is contained in:
@@ -1107,7 +1107,7 @@ describe('ProjectStructureChanges', function() {
|
||||
|
||||
describe('when rootDoc_id matches doc being deleted', function() {
|
||||
beforeEach(function(done) {
|
||||
Project.update(
|
||||
Project.updateOne(
|
||||
{ _id: this.exampleProjectId },
|
||||
{ $set: { rootDoc_id: this.exampleDocId } },
|
||||
done
|
||||
@@ -1139,7 +1139,7 @@ describe('ProjectStructureChanges', function() {
|
||||
describe('when rootDoc_id does not match doc being deleted', function() {
|
||||
beforeEach(function(done) {
|
||||
this.exampleRootDocId = new ObjectId()
|
||||
Project.update(
|
||||
Project.updateOne(
|
||||
{ _id: this.exampleProjectId },
|
||||
{ $set: { rootDoc_id: this.exampleRootDocId } },
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user