From f7fe222753ca291b27bcd415052a928ac312cab4 Mon Sep 17 00:00:00 2001 From: Melissa Alvarez Date: Tue, 12 May 2020 14:08:54 -0400 Subject: [PATCH] update api test types --- .../test/api_integration/apis/ml/data_frame_analytics/get.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x-pack/test/api_integration/apis/ml/data_frame_analytics/get.ts b/x-pack/test/api_integration/apis/ml/data_frame_analytics/get.ts index 0083250beed74..0ee99d9931f39 100644 --- a/x-pack/test/api_integration/apis/ml/data_frame_analytics/get.ts +++ b/x-pack/test/api_integration/apis/ml/data_frame_analytics/get.ts @@ -8,6 +8,7 @@ import expect from '@kbn/expect'; import { FtrProviderContext } from '../../../ftr_provider_context'; import { USER } from '../../../../functional/services/machine_learning/security_common'; import { DataFrameAnalyticsConfig } from '../../../../../plugins/ml/public/application/data_frame_analytics/common'; +import { DeepPartial } from '../../../../../plugins/ml/common/types/common'; const COMMON_HEADERS = { 'kbn-xsrf': 'some-xsrf-token', @@ -21,7 +22,7 @@ export default ({ getService }: FtrProviderContext) => { const jobId = `bm_${Date.now()}`; async function createJobs() { - const mockJobConfigs = [ + const mockJobConfigs: Array> = [ { id: `${jobId}_1`, description: