summaryrefslogtreecommitdiff
path: root/spec/frontend/code_navigation/store
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-01-26 21:11:52 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-01-26 21:11:52 +0000
commite04b8c1e60649802ae4249dae7fa7aaf3f0a83c7 (patch)
treedc5607b353067e079443b9478572e4a394bfe011 /spec/frontend/code_navigation/store
parentcea01cb81787f0d2c119b287a5833f2e267324bc (diff)
downloadgitlab-ce-e04b8c1e60649802ae4249dae7fa7aaf3f0a83c7.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/code_navigation/store')
-rw-r--r--spec/frontend/code_navigation/store/actions_spec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/code_navigation/store/actions_spec.js b/spec/frontend/code_navigation/store/actions_spec.js
index 3cedb2fe232..ab5d7fce905 100644
--- a/spec/frontend/code_navigation/store/actions_spec.js
+++ b/spec/frontend/code_navigation/store/actions_spec.js
@@ -4,7 +4,7 @@ import testAction from 'helpers/vuex_action_helper';
import actions from '~/code_navigation/store/actions';
import { setCurrentHoverElement, addInteractionClass } from '~/code_navigation/utils';
import axios from '~/lib/utils/axios_utils';
-import { HTTP_STATUS_INTERNAL_SERVER_ERROR } from '~/lib/utils/http_status';
+import { HTTP_STATUS_INTERNAL_SERVER_ERROR, HTTP_STATUS_OK } from '~/lib/utils/http_status';
jest.mock('~/code_navigation/utils');
@@ -46,7 +46,7 @@ describe('Code navigation actions', () => {
describe('success', () => {
beforeEach(() => {
- mock.onGet(codeNavigationPath).replyOnce(200, [
+ mock.onGet(codeNavigationPath).replyOnce(HTTP_STATUS_OK, [
{
start_line: 0,
start_char: 0,