Pass pluginId and plugin-path values through correctly (elastic/kibana-plugin-helpers#11)

Fixes elastic/kibana-plugin-helpers#10

Original commit: elastic/kibana-plugin-helpers@74defe4206
This commit is contained in:
Megan Walker 2016-11-11 17:21:52 +00:00 committed by Spencer
parent 57ecccec89
commit 151041bf26

View file

@ -2,8 +2,8 @@ module.exports = function (plugin) {
var execFileSync = require('child_process').execFileSync;
var kbnServerArgs = [
'--kbnServer.testsBundle.pluginId', plugin.id,
'--kbnServer.plugin-path', plugin.root
'--kbnServer.testsBundle.pluginId=' + plugin.id,
'--kbnServer.plugin-path=' + plugin.root
];
var cmd = 'npm';