Skip to content

Commit

Permalink
Add additional tests to handle empty list of pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
saikatsarkar056 committed May 16, 2024
1 parent 9ed83c7 commit 2e7f98a
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,11 @@ describe('IngestPipelinePanel', () => {
true
);
});

describe('when there exists no ingest pipeline', () => {
it('should display an empty list of pipelines', () => {
find('ingestPipelinePanelSelect').simulate('click');
expect(exists('ingestPipelinePanelOptions')).toBe(false);
});
});
});

0 comments on commit 2e7f98a

Please sign in to comment.