Merge pull request #2356 from overleaf/em-upgrade-test-deps
Upgrade test dependencies GitOrigin-RevId: 0bda49dea086f525211836b6008f67bafa2bbe48
This commit is contained in:
committed by
sharelatex
parent
bdc5360bc0
commit
4f9eb281b7
@@ -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)
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user