Merge pull request #29656 from overleaf/revert-29521-ar-models-es-conversion
Revert "[web] Convert models and self-referential test files to ESM " GitOrigin-RevId: 5455cccbb513bd9ca36ce526ff1553065f83d233
This commit is contained in:
+3
-5
@@ -1,8 +1,6 @@
|
||||
import mongodb from 'mongodb-legacy'
|
||||
import { expect } from 'vitest'
|
||||
import sinon from 'sinon'
|
||||
|
||||
const { ObjectId } = mongodb
|
||||
const { ObjectId } = require('mongodb-legacy')
|
||||
const { expect } = require('chai')
|
||||
const sinon = require('sinon')
|
||||
|
||||
describe('Mongo ObjectId comparison', function () {
|
||||
const ObjectId1 = new ObjectId('111111111111111111111111')
|
||||
Reference in New Issue
Block a user