updated mocha and sinon, fixed tests
This commit is contained in:
@@ -84,9 +84,10 @@ describe('DockerLockManager', function() {
|
||||
return this.runner.called.should.equal(false)
|
||||
})
|
||||
|
||||
return it('should return an error', function() {
|
||||
const error = new Errors.AlreadyCompilingError()
|
||||
return this.callback.calledWithExactly(error).should.equal(true)
|
||||
it('should return an error', function() {
|
||||
this.callback
|
||||
.calledWithExactly(sinon.match(Errors.AlreadyCompilingError))
|
||||
.should.equal(true)
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user