Skip to content

Commit

Permalink
[Discover] fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaanj committed Jun 24, 2021
1 parent eaca5e5 commit d5c65f5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
.kbnDocViewer__fieldIcon {
padding-top: $euiSizeXS * 1.5;
padding-top: $euiSizeXS * 1.5;
}

.kbnDocViewer__fieldName {
line-height: $euiLineHeight;
padding: $euiSizeXS;
line-height: $euiLineHeight;
padding: $euiSizeXS;
}

.kbnDocViewer__multiFieldBadge {
@include euiFont;
@include euiFont;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import React from 'react';
import { mount } from 'enzyme';
import { findTestSubject } from '@elastic/eui/lib/test';
import { IntlProvider } from 'react-intl';
import { I18nProvider } from '@kbn/i18n/react';
import { DocViewerTable, DocViewerTableProps } from './table';
import { indexPatterns, IndexPattern } from '../../../../../data/public';
import { ElasticSearchHit } from '../../doc_views/doc_views_types';
Expand Down Expand Up @@ -78,9 +78,9 @@ indexPattern.flattenHit = indexPatterns.flattenHitWrapper(indexPattern, indexPat

const mountComponent = (props: DocViewerTableProps) => {
return mount(
<IntlProvider locale={'en'}>
<I18nProvider>
<DocViewerTable {...props} />
</IntlProvider>
</I18nProvider>
);
};

Expand Down

0 comments on commit d5c65f5

Please sign in to comment.