Browse Source

test(ui): Reorganize alert tests (#38187)

Scott Cooper 2 years ago
parent
commit
f87b897b76

+ 1 - 1
static/app/views/alerts/rules/metric/details/index.tsx

@@ -16,7 +16,6 @@ import trackAdvancedAnalyticsEvent from 'sentry/utils/analytics/trackAdvancedAna
 import {getUtcDateString} from 'sentry/utils/dates';
 import withApi from 'sentry/utils/withApi';
 import withProjects from 'sentry/utils/withProjects';
-import {buildMetricGraphDateRange} from 'sentry/views/alerts/rules/details/utils';
 import {MetricRule, TimePeriod} from 'sentry/views/alerts/rules/metric/types';
 import type {Incident} from 'sentry/views/alerts/types';
 import {
@@ -28,6 +27,7 @@ import {
 import DetailsBody from './body';
 import {TIME_OPTIONS, TIME_WINDOWS, TimePeriodType} from './constants';
 import DetailsHeader from './header';
+import {buildMetricGraphDateRange} from './utils';
 
 interface Props extends RouteComponentProps<{orgId: string; ruleId: string}, {}> {
   api: Client;

+ 0 - 0
static/app/views/alerts/rules/details/utils.tsx → static/app/views/alerts/rules/metric/details/utils.tsx


+ 0 - 0
tests/js/spec/views/alerts/alertBadge.spec.tsx → tests/js/spec/components/alertBadge.spec.tsx


+ 0 - 0
tests/js/spec/views/alerts/rules/index.spec.jsx → tests/js/spec/views/alerts/list/alertRulesList.spec.jsx


+ 0 - 0
tests/js/spec/views/alerts/list/index.spec.jsx → tests/js/spec/views/alerts/list/incidentsList.spec.jsx


+ 0 - 0
tests/js/spec/views/alerts/create.spec.jsx → tests/js/spec/views/alerts/rules/issue/create.spec.jsx


+ 0 - 0
tests/js/spec/views/alerts/details/ruleDetails.spec.jsx → tests/js/spec/views/alerts/rules/issue/details/ruleDetails.spec.jsx


+ 0 - 0
tests/js/spec/views/alerts/details/textRule.spec.tsx → tests/js/spec/views/alerts/rules/issue/details/textRule.spec.tsx


+ 0 - 0
tests/js/spec/views/alerts/issueRules/issueRuleEditor.spec.jsx → tests/js/spec/views/alerts/rules/issue/issueRuleEditor.spec.jsx


+ 0 - 0
tests/js/spec/views/alerts/issueRules/ruleNode.spec.jsx → tests/js/spec/views/alerts/rules/issue/ruleNode.spec.jsx


Some files were not shown because too many files changed in this diff