mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
bf740f1e25
Integration: Merge soft-deletion features into master GitOrigin-RevId: 83baf730be2f256ad0d02271600392fda144b761
11 lines
320 B
JavaScript
11 lines
320 B
JavaScript
const chai = require('chai')
|
|
require('sinon')
|
|
|
|
// Load sinon-chai assertions so expect(stubFn).to.have.been.calledWith('abc')
|
|
// has a nicer failure messages
|
|
chai.use(require('sinon-chai'))
|
|
|
|
// add support for promises in sinon
|
|
require('sinon-as-promised')
|
|
// add support for mongoose in sinon
|
|
require('sinon-mongoose')
|