mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-16 21:32:27 +00:00
11 lines
313 B
JavaScript
11 lines
313 B
JavaScript
import chai from 'chai'
|
|
import chaiAsPromised from 'chai-as-promised'
|
|
import sinonChai from 'sinon-chai'
|
|
import { ObjectId } from 'mongodb'
|
|
|
|
// ensure every ObjectId has the id string as a property for correct comparisons
|
|
ObjectId.cacheHexString = true
|
|
|
|
chai.should()
|
|
chai.use(chaiAsPromised)
|
|
chai.use(sinonChai)
|