add a test/all task

Original commit: elastic/kibana-plugin-helpers@9b7c15cf32
This commit is contained in:
Joe Fleming 2016-12-14 16:35:28 -07:00
parent df21e54e57
commit f1a9be1933
3 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1,3 @@
Runs both the server and browser tests, in that order.
This is just a simple caller to both `test/server` and `test/browser`

View file

@ -0,0 +1 @@
module.exports = require('./test_all_action');

View file

@ -0,0 +1,6 @@
var run = require('../../../lib/run');
module.exports = function testAllAction(plugin) {
run('test/server').call(null);
run('test/browser').call(null, { runOnce: true });
};