Merge pull request #2356 from overleaf/em-upgrade-test-deps

Upgrade test dependencies

GitOrigin-RevId: 0bda49dea086f525211836b6008f67bafa2bbe48
This commit is contained in:
Eric Mc Sween
2019-11-18 14:53:42 +00:00
committed by sharelatex
parent bdc5360bc0
commit 4f9eb281b7
37 changed files with 1054 additions and 724 deletions
@@ -115,7 +115,9 @@ describe('AuthorizationMiddleware', function() {
this.res,
this.next
)
this.next.calledWith(new Error()).should.equal(true)
this.next
.calledWith(sinon.match.instanceOf(Error))
.should.equal(true)
})
})
@@ -242,7 +244,7 @@ describe('AuthorizationMiddleware', function() {
this.res,
this.next
)
this.next.calledWith(new Error()).should.equal(true)
this.next.calledWith(sinon.match.instanceOf(Error)).should.equal(true)
})
})