mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Remove wrong test (#206231)
## Summary This test is not useful and has a bug, so we decided to remove it.
This commit is contained in:
parent
7386e26824
commit
82721b0c25
1 changed files with 0 additions and 11 deletions
|
@ -52,17 +52,6 @@ describe('AlertsFlyout', () => {
|
|||
|
||||
expect(flyout.getByText('Recovered')).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it('should NOT show the Alert details button as the feature flag is disabled', async () => {
|
||||
const flyout = render(
|
||||
<AlertsFlyout
|
||||
alert={recoveredAlert}
|
||||
observabilityRuleTypeRegistry={observabilityRuleTypeRegistryMock}
|
||||
onClose={jest.fn()}
|
||||
/>
|
||||
);
|
||||
expect(flyout.queryByTestId('alertsFlyoutAlertDetailsButton')).not.toBeInTheDocument();
|
||||
});
|
||||
});
|
||||
|
||||
const activeAlert: TopAlert = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue