2014-08-26 02:55:32 +02:00
|
|
|
module.exports = function (grunt) {
|
2015-08-01 23:46:53 +02:00
|
|
|
let {resolve} = require('path');
|
|
|
|
let root = p => resolve(__dirname, '../../', p);
|
|
|
|
|
2015-07-16 07:15:56 +02:00
|
|
|
return {
|
2015-08-07 20:49:56 +02:00
|
|
|
testServer: {
|
2014-10-10 19:33:48 +02:00
|
|
|
options: {
|
2014-10-10 19:46:06 +02:00
|
|
|
wait: false,
|
2015-08-07 20:49:56 +02:00
|
|
|
ready: /Server running/,
|
2015-07-16 07:15:56 +02:00
|
|
|
quiet: false,
|
2014-10-10 19:46:06 +02:00
|
|
|
failOnError: false
|
2014-10-10 19:33:48 +02:00
|
|
|
},
|
2015-07-16 07:15:56 +02:00
|
|
|
cmd: './bin/kibana',
|
2015-08-07 20:49:56 +02:00
|
|
|
args: ['--env.name=development', '--logging.json=false', '--optimize.bundleFilter=tests']
|
2014-08-26 02:55:32 +02:00
|
|
|
}
|
|
|
|
};
|
2015-08-01 23:46:53 +02:00
|
|
|
|
2014-08-26 02:55:32 +02:00
|
|
|
};
|