Skip to content

Commit

Permalink
[ML] Add expected error
Browse files Browse the repository at this point in the history
  • Loading branch information
qn895 committed Mar 25, 2021
1 parent 82e02c6 commit 32d70bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions x-pack/test/accessibility/apps/ml_embeddables_in_dashboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import { FtrProviderContext } from '../ftr_provider_context';
import { Datafeed, Job } from '../../../plugins/ml/common/types/anomaly_detection_jobs';

// @ts-expect-error not full interface
const JOB_CONFIG: Job = {
job_id: `fq_multi_1_ae`,
description:
Expand All @@ -27,6 +28,7 @@ const JOB_CONFIG: Job = {
model_plot_config: { enabled: true },
};

// @ts-expect-error not full interface
const DATAFEED_CONFIG: Datafeed = {
datafeed_id: 'datafeed-fq_multi_1_ae',
indices: ['ft_farequote'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import { FtrProviderContext } from '../../../ftr_provider_context';
import { Job, Datafeed } from '../../../../../plugins/ml/common/types/anomaly_detection_jobs';

// @ts-expect-error not full interface
const JOB_CONFIG: Job = {
job_id: `fq_multi_1_ae`,
description:
Expand All @@ -27,6 +28,7 @@ const JOB_CONFIG: Job = {
model_plot_config: { enabled: true },
};

// @ts-expect-error not full interface
const DATAFEED_CONFIG: Datafeed = {
datafeed_id: 'datafeed-fq_multi_1_ae',
indices: ['ft_farequote'],
Expand Down

0 comments on commit 32d70bf

Please sign in to comment.