add --include options to test:server

Original commit: elastic/kibana-plugin-helpers@d3b5e24207
This commit is contained in:
Joe Fleming 2016-12-15 12:24:11 -07:00
parent 545a304f0f
commit c5b08cc1fa

View file

@ -32,14 +32,15 @@ program
program
.command('test:browser')
.option('--dev', 'Enable dev mode, keeps the test server running')
.description('Run the browser tests in a real web browser')
.option('--dev', 'Enable dev mode, keeps the test server running')
.on('--help', docs('test/browser'))
.action(run('test/browser'));
program
.command('test:server')
.description('Run the server tests using mocha')
.option('-i, --include <globs>', 'Additional files of glob patterns to include server tests from')
.on('--help', docs('test/server'))
.action(run('test/server'));