Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/ide/components/ide_status_bar_spec.js')
-rw-r--r--spec/frontend/ide/components/ide_status_bar_spec.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/frontend/ide/components/ide_status_bar_spec.js b/spec/frontend/ide/components/ide_status_bar_spec.js
index fe392a64013..eb51faaaa16 100644
--- a/spec/frontend/ide/components/ide_status_bar_spec.js
+++ b/spec/frontend/ide/components/ide_status_bar_spec.js
@@ -1,4 +1,4 @@
-import _ from 'lodash';
+import { clone } from 'lodash';
import { TEST_HOST } from 'helpers/test_constants';
import { mountExtended } from 'helpers/vue_test_utils_helper';
import IdeStatusBar from '~/ide/components/ide_status_bar.vue';
@@ -28,7 +28,7 @@ describe('IdeStatusBar component', () => {
currentProjectId: TEST_PROJECT_ID,
projects: {
...store.state.projects,
- [TEST_PROJECT_ID]: _.clone(projectData),
+ [TEST_PROJECT_ID]: clone(projectData),
},
...state,
});
@@ -100,7 +100,7 @@ describe('IdeStatusBar component', () => {
currentMergeRequestId: TEST_MERGE_REQUEST_ID,
projects: {
[TEST_PROJECT_ID]: {
- ..._.clone(projectData),
+ ...clone(projectData),
mergeRequests: {
[TEST_MERGE_REQUEST_ID]: {
web_url: TEST_MERGE_REQUEST_URL,