Skip to content

Commit

Permalink
alerts in Correlations inital commit
Browse files Browse the repository at this point in the history
Signed-off-by: Riya Saxena <[email protected]>
  • Loading branch information
riysaxen-amzn committed Jun 13, 2024
1 parent 2b1c6f1 commit b2c4c98
Show file tree
Hide file tree
Showing 12 changed files with 3,147 additions and 27 deletions.
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();
});
});
Loading

0 comments on commit b2c4c98

Please sign in to comment.