import {render} from 'sentry-test/reactTestingLibrary';
import {TextCondition} from 'sentry/views/alerts/rules/issue/details/textRule';
describe('AlertRuleDetails', () => {
it('displays EventFrequencyCondition percentage', () => {
const wrapper = render(
);
expect(wrapper.container).toHaveTextContent(
'Number of events in an issue is more than 1000 in 1h'
);
});
it('displays EventFrequencyCondition count', () => {
const wrapper = render(
);
expect(wrapper.container).toHaveTextContent(
'Number of events in an issue is 150% higher in 1h compared to 1h ago'
);
});
});