MXS-1300: Un-modularize the core
Making the core a module proved to bring more problems than it solved. For the sake of simplicity in installation and code coverage reporting, the core is now completely contained in the `lib/` directory. Also added preliminary coverage reporting with nyc.
This commit is contained in:
@ -1,11 +1,11 @@
|
||||
require('../test_utils.js')()
|
||||
|
||||
var ctrl = require('../lib/core.js')
|
||||
var opts = { extra_args: [ '--quiet'] }
|
||||
|
||||
describe("Server Commands", function() {
|
||||
before(startMaxScale)
|
||||
|
||||
var ctrl = require('maxctrl-core')
|
||||
var opts = { extra_args: [ '--quiet'] }
|
||||
|
||||
it('create server', function() {
|
||||
return ctrl.execute('create server server5 127.0.0.1 3003'.split(' '), opts)
|
||||
.then(function() {
|
||||
|
Reference in New Issue
Block a user