Add xpack_main as a dependency in a few tests (#55602)

This commit is contained in:
Mike Côté 2020-01-22 15:36:24 -05:00 committed by GitHub
parent 179dba2deb
commit 2e6f821d3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -36,7 +36,7 @@ export function getAllExternalServiceSimulatorPaths(): string[] {
// eslint-disable-next-line import/no-default-export
export default function(kibana: any) {
return new kibana.Plugin({
require: ['actions'],
require: ['xpack_main', 'actions'],
name: NAME,
init: (server: Hapi.Server) => {
// this action is specifically NOT enabled in ../../config.ts

View file

@ -11,7 +11,7 @@ import { ActionTypeExecutorOptions, ActionType } from '../../../../../../plugins
// eslint-disable-next-line import/no-default-export
export default function(kibana: any) {
return new kibana.Plugin({
require: ['actions', 'alerting', 'elasticsearch'],
require: ['xpack_main', 'actions', 'alerting', 'elasticsearch'],
name: 'alerts',
init(server: any) {
server.plugins.xpack_main.registerFeature({