diff options
Diffstat (limited to 'spec/frontend/incidents_settings')
4 files changed, 6 insertions, 8 deletions
diff --git a/spec/frontend/incidents_settings/components/__snapshots__/incidents_settings_tabs_spec.js.snap b/spec/frontend/incidents_settings/components/__snapshots__/incidents_settings_tabs_spec.js.snap index 2b3c803be08..4398d568501 100644 --- a/spec/frontend/incidents_settings/components/__snapshots__/incidents_settings_tabs_spec.js.snap +++ b/spec/frontend/incidents_settings/components/__snapshots__/incidents_settings_tabs_spec.js.snap @@ -9,9 +9,7 @@ exports[`IncidentsSettingTabs should render the component 1`] = ` <div class="settings-header" > - <h4 - class="gl-my-3! gl-py-1" - > + <h4> Incidents diff --git a/spec/frontend/incidents_settings/components/incidents_settings_service_spec.js b/spec/frontend/incidents_settings/components/incidents_settings_service_spec.js index 5010fc0bb5c..5476e895c68 100644 --- a/spec/frontend/incidents_settings/components/incidents_settings_service_spec.js +++ b/spec/frontend/incidents_settings/components/incidents_settings_service_spec.js @@ -1,9 +1,9 @@ import AxiosMockAdapter from 'axios-mock-adapter'; +import { deprecatedCreateFlash as createFlash } from '~/flash'; +import { ERROR_MSG } from '~/incidents_settings/constants'; +import IncidentsSettingsService from '~/incidents_settings/incidents_settings_service'; import axios from '~/lib/utils/axios_utils'; import httpStatusCodes from '~/lib/utils/http_status'; -import IncidentsSettingsService from '~/incidents_settings/incidents_settings_service'; -import { ERROR_MSG } from '~/incidents_settings/constants'; -import { deprecatedCreateFlash as createFlash } from '~/flash'; import { refreshCurrentPage } from '~/lib/utils/url_utility'; jest.mock('~/flash'); diff --git a/spec/frontend/incidents_settings/components/incidents_settings_tabs_spec.js b/spec/frontend/incidents_settings/components/incidents_settings_tabs_spec.js index c80d9ad2e5b..ff40f1fa008 100644 --- a/spec/frontend/incidents_settings/components/incidents_settings_tabs_spec.js +++ b/spec/frontend/incidents_settings/components/incidents_settings_tabs_spec.js @@ -1,5 +1,5 @@ -import { shallowMount } from '@vue/test-utils'; import { GlTab } from '@gitlab/ui'; +import { shallowMount } from '@vue/test-utils'; import IncidentsSettingTabs from '~/incidents_settings/components/incidents_settings_tabs.vue'; describe('IncidentsSettingTabs', () => { diff --git a/spec/frontend/incidents_settings/components/pagerduty_form_spec.js b/spec/frontend/incidents_settings/components/pagerduty_form_spec.js index 50d0de8a753..2ffd1292ddc 100644 --- a/spec/frontend/incidents_settings/components/pagerduty_form_spec.js +++ b/spec/frontend/incidents_settings/components/pagerduty_form_spec.js @@ -1,6 +1,6 @@ +import { GlAlert, GlModal } from '@gitlab/ui'; import { shallowMount } from '@vue/test-utils'; import waitForPromises from 'helpers/wait_for_promises'; -import { GlAlert, GlModal } from '@gitlab/ui'; import PagerDutySettingsForm from '~/incidents_settings/components/pagerduty_form.vue'; describe('Alert integration settings form', () => { |