-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
alerts in Correlations inital commit
Signed-off-by: Riya Saxena <[email protected]>
- Loading branch information
1 parent
2b1c6f1
commit b2c4c98
Showing
12 changed files
with
3,147 additions
and
27 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
...lations/components/ConfigureAlerts/components/AlertCondition/AlertConditionPanel.test.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
* Copyright OpenSearch Contributors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
import React from 'react'; | ||
import { render } from '@testing-library/react'; | ||
import AlertConditionPanel from './AlertConditionPanel'; | ||
import alertConditionPanelMock from '../../../../../../../test/mocks/CreateDetector/components/ConfigureAlerts/components/AlertCondition/AlertConditionPanel.mock'; | ||
|
||
describe('<AlertConditionPanel /> spec', () => { | ||
it('renders the component', () => { | ||
const tree = render(<AlertConditionPanel {...alertConditionPanelMock} />); | ||
expect(tree).toMatchSnapshot(); | ||
}); | ||
}); |
Oops, something went wrong.