fix default command, no more use of call

Original commit: elastic/kibana-plugin-helpers@fe13b987c9
This commit is contained in:
Joe Fleming 2016-12-14 17:22:02 -07:00
parent 30dc427299
commit 11bb47cc74
2 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,4 @@
module.exports = function testAllAction(plugin, run) {
run('test/server').call(null);
run('test/browser').call(null);
run('test/server')();
run('test/browser')();
};

View file

@ -1,5 +1,6 @@
module.exports = function testBrowserAction(plugin, run, command) {
var execFileSync = require('child_process').execFileSync;
command = command || {};
var kbnServerArgs = [
'--kbnServer.testsBundle.pluginId=' + plugin.id,