diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-07 12:08:26 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-07 12:08:26 +0300 |
commit | 47da68850624438b5b5b9ff9d648b1e83282c446 (patch) | |
tree | 95f31cd727324ad14cc64e5e5d8b41830cecefe8 /spec/frontend/incidents_settings/components | |
parent | ed922e61f47716d82396490b0a19d794c997b9c5 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/incidents_settings/components')
-rw-r--r-- | spec/frontend/incidents_settings/components/incidents_settings_service_spec.js | 6 |
1 files changed, 3 insertions, 3 deletions
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 1d1b285c1b6..c5c29b4bb19 100644 --- a/spec/frontend/incidents_settings/components/incidents_settings_service_spec.js +++ b/spec/frontend/incidents_settings/components/incidents_settings_service_spec.js @@ -1,12 +1,12 @@ import AxiosMockAdapter from 'axios-mock-adapter'; -import { createAlert } from '~/flash'; +import { createAlert } from '~/alert'; import { ERROR_MSG } from '~/incidents_settings/constants'; import IncidentsSettingsService from '~/incidents_settings/incidents_settings_service'; import axios from '~/lib/utils/axios_utils'; import { HTTP_STATUS_BAD_REQUEST, HTTP_STATUS_OK } from '~/lib/utils/http_status'; import { refreshCurrentPage } from '~/lib/utils/url_utility'; -jest.mock('~/flash'); +jest.mock('~/alert'); jest.mock('~/lib/utils/url_utility'); describe('IncidentsSettingsService', () => { @@ -33,7 +33,7 @@ describe('IncidentsSettingsService', () => { }); }); - it('should display a flash message on update error', () => { + it('should display an alert message on update error', () => { mock.onPatch().reply(HTTP_STATUS_BAD_REQUEST); return service.updateSettings({}).then(() => { |