Skip to content

Commit

Permalink
update outlier result test
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarezmelissa87 committed Mar 30, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 9b6d5f9 commit 0f620b1
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -6,7 +6,6 @@

import { shallow } from 'enzyme';
import React from 'react';
import { DATA_FRAME_TASK_STATE } from '../../../analytics_management/components/analytics_list/common';
import { MlContext } from '../../../../../contexts/ml';
import { kibanaContextValueMock } from '../../../../../contexts/ml/__mocks__/kibana_context_value';

@@ -22,7 +21,7 @@ describe('Data Frame Analytics: <Exploration />', () => {
test('Minimal initialization', () => {
const wrapper = shallow(
<MlContext.Provider value={kibanaContextValueMock}>
<OutlierExploration jobId="the-job-id" jobStatus={DATA_FRAME_TASK_STATE.STOPPED} />
<OutlierExploration jobId="the-job-id" />
</MlContext.Provider>
);
// Without the jobConfig being loaded, the component will just return empty.

0 comments on commit 0f620b1

Please sign in to comment.