mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Upgrade Sinon
This commit is contained in:
@@ -147,7 +147,9 @@ describe('ProjectManager - flushAndDeleteProject', function () {
|
||||
})
|
||||
|
||||
it('should call the callback with an error', function () {
|
||||
return this.callback.calledWith(new Error()).should.equal(true)
|
||||
return this.callback
|
||||
.calledWith(sinon.match.instanceOf(Error))
|
||||
.should.equal(true)
|
||||
})
|
||||
|
||||
return it('should time the execution', function () {
|
||||
|
||||
Reference in New Issue
Block a user