Skip to content

Commit

Permalink
remove unused dataprovider tests
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelolo24 committed Sep 14, 2022
1 parent f06b827 commit ef43722
Showing 1 changed file with 0 additions and 42 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,6 @@ describe('FlyoutBottomBar', () => {
expect(screen.getByTestId('flyoutBottomBar')).toBeInTheDocument();
});

test('it renders the data providers drop target area', () => {
render(
<TestProviders>
<FlyoutBottomBar
timelineId="test"
showDataproviders={true}
activeTab={TimelineTabs.query}
/>
</TestProviders>
);

expect(screen.getByTestId('dataProviders')).toBeInTheDocument();
});

test('it renders the flyout header panel', () => {
render(
<TestProviders>
Expand All @@ -55,20 +41,6 @@ describe('FlyoutBottomBar', () => {
expect(screen.getByTestId('timeline-flyout-header-panel')).toBeInTheDocument();
});

test('it hides the data providers drop target area', () => {
render(
<TestProviders>
<FlyoutBottomBar
timelineId="test"
showDataproviders={false}
activeTab={TimelineTabs.query}
/>
</TestProviders>
);

expect(screen.queryByTestId('dataProviders')).not.toBeInTheDocument();
});

test('it hides the flyout header panel', () => {
render(
<TestProviders>
Expand All @@ -82,18 +54,4 @@ describe('FlyoutBottomBar', () => {

expect(screen.queryByTestId('timeline-flyout-header-panel')).not.toBeInTheDocument();
});

test('it renders the data providers drop target area when showDataproviders=false and tab is not query', () => {
render(
<TestProviders>
<FlyoutBottomBar
timelineId="test"
showDataproviders={false}
activeTab={TimelineTabs.notes}
/>
</TestProviders>
);

expect(screen.getByTestId('dataProviders')).toBeInTheDocument();
});
});

0 comments on commit ef43722

Please sign in to comment.