diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-15 18:10:04 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-15 18:10:04 +0000 |
commit | 5ff1f808adf841bca979cb2fac6bdfa9c449d028 (patch) | |
tree | c95cfbbcb400684b2bc89fee4fc7b614315ba909 /spec/frontend/user_lists/store/new/actions_spec.js | |
parent | f8a5275c45ed2276daf843764113476749e680d2 (diff) | |
download | gitlab-ce-5ff1f808adf841bca979cb2fac6bdfa9c449d028.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/user_lists/store/new/actions_spec.js')
-rw-r--r-- | spec/frontend/user_lists/store/new/actions_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/user_lists/store/new/actions_spec.js b/spec/frontend/user_lists/store/new/actions_spec.js index fa69fa7fa66..7ecf05e380a 100644 --- a/spec/frontend/user_lists/store/new/actions_spec.js +++ b/spec/frontend/user_lists/store/new/actions_spec.js @@ -1,6 +1,6 @@ import testAction from 'helpers/vuex_action_helper'; import Api from '~/api'; -import { redirectTo } from '~/lib/utils/url_utility'; +import { redirectTo } from '~/lib/utils/url_utility'; // eslint-disable-line import/no-deprecated import * as actions from '~/user_lists/store/new/actions'; import * as types from '~/user_lists/store/new/mutation_types'; import createState from '~/user_lists/store/new/state'; @@ -41,7 +41,7 @@ describe('User Lists Edit Actions', () => { it('should redirect to the user list page', () => { return testAction(actions.createUserList, createdList, state, [], [], () => { expect(Api.createFeatureFlagUserList).toHaveBeenCalledWith('1', createdList); - expect(redirectTo).toHaveBeenCalledWith(userList.path); + expect(redirectTo).toHaveBeenCalledWith(userList.path); // eslint-disable-line import/no-deprecated }); }); }); |