mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Merge pull request #29948 from overleaf/ar/docstore-conversion-to-esm
[docstore] conversion to esm GitOrigin-RevId: 9d255047bd7ae25f2b0b38f3a721741e8a0b7ad8
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
const { ObjectId } = require('mongodb-legacy')
|
||||
const async = require('async')
|
||||
const DocstoreApp = require('./helpers/DocstoreApp')
|
||||
const { callbackify } = require('node:util')
|
||||
import mongodb from 'mongodb-legacy'
|
||||
import async from 'async'
|
||||
import DocstoreApp from './helpers/DocstoreApp.js'
|
||||
import { callbackify } from 'node:util'
|
||||
import DocstoreClient from './helpers/DocstoreClient.js'
|
||||
|
||||
const DocstoreClient = require('./helpers/DocstoreClient')
|
||||
const { ObjectId } = mongodb
|
||||
|
||||
describe('Getting all docs', function () {
|
||||
beforeEach(function (done) {
|
||||
|
||||
Reference in New Issue
Block a user