Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarezmelissa87 committed Jun 29, 2020
1 parent 8c21a0f commit 31f72d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ export class AnomalyDetails extends Component {
),
},
{
id: 'categoryExamples',
id: 'category-examples',
name: i18n.translate('xpack.ml.anomaliesTable.anomalyDetails.categoryExamplesTitle', {
defaultMessage: 'Category examples',
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ describe('AnomalyDetails', () => {
tabIndex: 1,
};
const wrapper = shallowWithIntl(<AnomalyDetails {...categoryTabProps} />);
expect(wrapper.prop('initialSelectedTab').id).toBe('Category examples');
expect(wrapper.prop('initialSelectedTab').id).toBe('category-examples');
});

test('Renders with terms and regex when definition prop is not undefined', () => {
Expand Down

0 comments on commit 31f72d5

Please sign in to comment.