mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
a3bcc71df9
Globally load sinon-chai GitOrigin-RevId: b0175e021b98d6338171108c6778de80ee58479a
5 lines
173 B
JavaScript
5 lines
173 B
JavaScript
const chai = require('chai')
|
|
|
|
// Load sinon-chai assertions so expect(stubFn).to.have.been.calledWith('abc')
|
|
// has a nicer failure messages
|
|
chai.use(require('sinon-chai'))
|