diff --git a/x-pack/plugins/fleet/public/mock/plugin_dependencies.ts b/x-pack/plugins/fleet/public/mock/plugin_dependencies.ts index 0e3351e3dfad77..3eada9079a7734 100644 --- a/x-pack/plugins/fleet/public/mock/plugin_dependencies.ts +++ b/x-pack/plugins/fleet/public/mock/plugin_dependencies.ts @@ -28,7 +28,7 @@ export const createSetupDepsMock = () => { export const createStartDepsMock = () => { return { data: dataPluginMock.createStartContract(), - fieldFormats: fieldFormatsServiceMock.create().start(), + fieldFormats: fieldFormatsServiceMock.createStartContract() as any, navigation: navigationPluginMock.createStartContract(), customIntegrations: customIntegrationsMock.createStart(), share: sharePluginMock.createStartContract(),