Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonStoltz committed Apr 7, 2021
1 parent cd5488e commit b2af29b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ describe('Result', () => {
const buttons = renderedActions.find(EuiButtonIcon);
expect(buttons).toHaveLength(2);

// console.log(buttons.first().props());
expect(buttons.first().prop('iconType')).toEqual('eyeClosed');
expect(buttons.first().prop('color')).toEqual('danger');
buttons.first().simulate('click');
Expand All @@ -119,7 +118,7 @@ describe('Result', () => {
const renderedActions = shallow(header.prop('actions') as any);
const buttons = renderedActions.find(EuiButtonIcon);

// In addition to the 2 actions passed, we also have an action
// In addition to the 2 actions passed, we also have a link action
expect(buttons).toHaveLength(3);

expect(buttons.first().prop('data-test-subj')).toEqual('DocumentDetailLink');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ export const ResultHeader: React.FC<Props> = ({
/>
</EuiFlexItem>
)}
{/* Engine Name */}
{isMetaEngine && (
<EuiFlexItem grow={false}>
<ResultHeaderItem
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
&__score {
color: $euiColorSuccessText;
}
}
}

0 comments on commit b2af29b

Please sign in to comment.