mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
10 lines
258 B
JavaScript
10 lines
258 B
JavaScript
|
import chai from 'chai'
|
||
|
import chaiAsPromised from 'chai-as-promised'
|
||
|
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)
|