Skip to content

Commit

Permalink
Fix embarrassment
Browse files Browse the repository at this point in the history
  • Loading branch information
kqualters-elastic committed Mar 29, 2022
1 parent 5293a14 commit bf284c6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ describe('StatefulEventsViewer', () => {
</TestProviders>
);

expect(wrapper.findByTestId(`InspectButtonContainer`)).toBeTruthy();
expect(wrapper.getByTestId(`hoverVisibilityContainer`)).toBeTruthy();
});

test('it closes field editor when unmounted', async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,11 +236,15 @@ describe('GraphOverlay', () => {
storage
)}
>
<GraphOverlay timelineId={timelineId} SessionView={<div />} Navigation={<div />} />
<GraphOverlay
timelineId={timelineId}
SessionView={<div />}
Navigation={<div>{'Close Session'}</div>}
/>
</TestProviders>
);

expect(wrapper.findByText('Close Session')).toBeTruthy();
expect(wrapper.getByText('Close Session')).toBeTruthy();
});
});
});

0 comments on commit bf284c6

Please sign in to comment.