File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
x-pack/plugins/triggers_actions_ui/public/application/test_utils Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 44 * you may not use this file except in compliance with the Elastic License.
55 */
66
7+ import { featuresPluginMock } from '../../../../features/public/mocks' ;
78import { chartPluginMock } from '../../../../../../src/plugins/charts/public/mocks' ;
89import { dataPluginMock } from '../../../../../../src/plugins/data/public/mocks' ;
910import { alertingPluginMock } from '../../../../alerts/public/mocks' ;
@@ -22,6 +23,8 @@ export async function getMockedAppDependencies() {
2223 application : { capabilities, navigateToApp } ,
2324 } ,
2425 ] = await coreSetupMock . getStartServices ( ) ;
26+ const kibanaFeatures = await featuresPluginMock . createStart ( ) . getFeatures ( ) ;
27+
2528 return {
2629 chrome,
2730 docLinks,
@@ -37,5 +40,6 @@ export async function getMockedAppDependencies() {
3740 setBreadcrumbs : jest . fn ( ) ,
3841 actionTypeRegistry,
3942 alertTypeRegistry,
43+ kibanaFeatures,
4044 } ;
4145}
You can’t perform that action at this time.
0 commit comments