diff --git a/src/plugins/dev_mode/package.json b/src/plugins/dev_mode/package.json index 0d52e00a9094c..666d9a81a6a70 100644 --- a/src/plugins/dev_mode/package.json +++ b/src/plugins/dev_mode/package.json @@ -1,4 +1,4 @@ { - "name": "devMode", + "name": "dev_mode", "version": "1.0.0" } diff --git a/src/plugins/spy_modes/package.json b/src/plugins/spy_modes/package.json index e5f8c52a1f4a8..8bf42bfa865a7 100644 --- a/src/plugins/spy_modes/package.json +++ b/src/plugins/spy_modes/package.json @@ -1,4 +1,4 @@ { - "name": "spyModes", + "name": "spy_modes", "version": "1.0.0" } diff --git a/src/plugins/status_page/package.json b/src/plugins/status_page/package.json index 853b935ec57e9..551751fda01ca 100644 --- a/src/plugins/status_page/package.json +++ b/src/plugins/status_page/package.json @@ -1,4 +1,4 @@ { - "name": "statusPage", + "name": "status_page", "version": "1.0.0" } diff --git a/src/plugins/tests_bundle/index.js b/src/plugins/tests_bundle/index.js index 5839767959b90..b0ce3446f3b46 100644 --- a/src/plugins/tests_bundle/index.js +++ b/src/plugins/tests_bundle/index.js @@ -19,7 +19,7 @@ export default (kibana) => { let config = kibana.config; const testGlobs = ['src/ui/public/**/*.js']; - const testingPluginId = config.get('testsBundle.pluginId'); + const testingPluginId = config.get('tests_bundle.pluginId'); if (testingPluginId) { const plugin = plugins.byId[testingPluginId]; @@ -49,7 +49,7 @@ export default (kibana) => { const testFiles = await findSourceFiles(testGlobs); for (let f of testFiles) modules.push(f); - if (config.get('testsBundle.instrument')) { + if (config.get('tests_bundle.instrument')) { env.addPostLoader({ test: /\.jsx?$/, exclude: /[\/\\](__tests__|node_modules|bower_components|webpackShims)[\/\\]/, diff --git a/src/plugins/tests_bundle/package.json b/src/plugins/tests_bundle/package.json index 0b7104a0c3f34..dd351b09560c4 100644 --- a/src/plugins/tests_bundle/package.json +++ b/src/plugins/tests_bundle/package.json @@ -1,4 +1,4 @@ { - "name": "testsBundle", + "name": "tests_bundle", "version": "0.0.0" } diff --git a/src/server/status/index.js b/src/server/status/index.js index 57284adee1b3b..c2d73d1c823a5 100644 --- a/src/server/status/index.js +++ b/src/server/status/index.js @@ -21,7 +21,7 @@ module.exports = function (kbnServer, server, config) { }); server.decorate('reply', 'renderStatusPage', function () { - var app = kbnServer.uiExports.getHiddenApp('statusPage'); + var app = kbnServer.uiExports.getHiddenApp('status_page'); var resp = app ? this.renderApp(app) : this(kbnServer.status.toString()); resp.code(kbnServer.status.isGreen() ? 200 : 503); return resp; diff --git a/tasks/config/run.js b/tasks/config/run.js index 126de64dc4016..36f166b5477b5 100644 --- a/tasks/config/run.js +++ b/tasks/config/run.js @@ -86,7 +86,7 @@ module.exports = function (grunt) { args: [ ...buildTestsArgs, '--server.port=5610', - '--testsBundle.instrument=true', + '--tests_bundle.instrument=true', ...kbnServerFlags, ] }, diff --git a/test/functional/status_page/index.js b/test/functional/status_page/index.js index c5bff5ff7c9e7..b4b27607bc03a 100644 --- a/test/functional/status_page/index.js +++ b/test/functional/status_page/index.js @@ -10,7 +10,7 @@ define(function (require) { bdd.before(function () { common = new Common(this.remote); // load the status page - return common.navigateToApp('statusPage', false); + return common.navigateToApp('status_page', false); }); bdd.it('should show the kibana plugin as ready', function () { @@ -27,4 +27,4 @@ define(function (require) { .catch(common.handleError(self)); }); }); -}); \ No newline at end of file +});