MXS-1300: Improve test coverage
The tests now cover 100% of all source files with the exception of the call.js and common.js source files.
This commit is contained in:
@ -6,6 +6,8 @@ describe("Unknown Commands", function() {
|
||||
var endpoints = [
|
||||
'list',
|
||||
'show',
|
||||
'set',
|
||||
'clear',
|
||||
'enable',
|
||||
'disable',
|
||||
'create',
|
||||
@ -26,5 +28,10 @@ describe("Unknown Commands", function() {
|
||||
})
|
||||
})
|
||||
|
||||
it('generic unknown command', function() {
|
||||
return doCommand('something')
|
||||
.should.be.rejected
|
||||
})
|
||||
|
||||
after(stopMaxScale)
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user