Improve MaxCtrl test coverage
A few missing cases that simple to solve were reported by the coverage tool.
This commit is contained in:
@ -70,6 +70,11 @@ describe("Library invocation", function() {
|
||||
.should.be.fulfilled
|
||||
})
|
||||
|
||||
it('no command', function() {
|
||||
return ctrl.execute([], {})
|
||||
.should.be.rejected
|
||||
})
|
||||
|
||||
it('reject on connection failure', function() {
|
||||
stopMaxScale()
|
||||
.then(function() {
|
||||
|
Reference in New Issue
Block a user