Skip to content

Commit ae57f7d

Browse files
committed
fixed deps for test utils
1 parent c4be948 commit ae57f7d

File tree

1 file changed

+4
-0
lines changed
  • x-pack/plugins/triggers_actions_ui/public/application/test_utils

1 file changed

+4
-0
lines changed

x-pack/plugins/triggers_actions_ui/public/application/test_utils/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* you may not use this file except in compliance with the Elastic License.
55
*/
66

7+
import { featuresPluginMock } from '../../../../features/public/mocks';
78
import { chartPluginMock } from '../../../../../../src/plugins/charts/public/mocks';
89
import { dataPluginMock } from '../../../../../../src/plugins/data/public/mocks';
910
import { 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
}

0 commit comments

Comments
 (0)