Commit d4e95de1 authored by Filipa Lacerda's avatar Filipa Lacerda

Merge branch '32486-update-eslint-plugin-import-to-2.18.2-ee-spec-ide' into 'master'

Update eslint-plugin-import from 2.16.0 to 2.18.2 (/ee/spec/*/ide/)

See merge request gitlab-org/gitlab!20908
parents cc5eb7e1 a2898a1f
import Vuex from 'vuex'; import Vuex from 'vuex';
import { createStore } from '~/ide/stores';
import { mount, createLocalVue } from '@vue/test-utils'; import { mount, createLocalVue } from '@vue/test-utils';
import TerminalSyncStatusSafe from 'ee/ide/components/terminal_sync/terminal_sync_status_safe.vue'; import TerminalSyncStatusSafe from 'ee/ide/components/terminal_sync/terminal_sync_status_safe.vue';
import IdeStatusList from 'ee/ide/components/ide_status_list.vue'; import IdeStatusList from 'ee/ide/components/ide_status_list.vue';
import { createStore } from '~/ide/stores';
const localVue = createLocalVue(); const localVue = createLocalVue();
localVue.use(Vuex); localVue.use(Vuex);
......
import { shallowMount, createLocalVue } from '@vue/test-utils'; import { shallowMount, createLocalVue } from '@vue/test-utils';
import Vuex from 'vuex'; import Vuex from 'vuex';
import RightPane from '~/ide/components/panes/right.vue';
import EERightPane from 'ee/ide/components/panes/right.vue'; import EERightPane from 'ee/ide/components/panes/right.vue';
import RightPane from '~/ide/components/panes/right.vue';
const localVue = createLocalVue(); const localVue = createLocalVue();
localVue.use(Vuex); localVue.use(Vuex);
......
import Vuex from 'vuex'; import Vuex from 'vuex';
import { createLocalVue, shallowMount } from '@vue/test-utils'; import { createLocalVue, shallowMount } from '@vue/test-utils';
import { GlLoadingIcon } from '@gitlab/ui'; import { GlLoadingIcon } from '@gitlab/ui';
import Icon from '~/vue_shared/components/icon.vue';
import TerminalSyncStatus from 'ee/ide/components/terminal_sync/terminal_sync_status.vue'; import TerminalSyncStatus from 'ee/ide/components/terminal_sync/terminal_sync_status.vue';
import { import {
MSG_TERMINAL_SYNC_CONNECTING, MSG_TERMINAL_SYNC_CONNECTING,
MSG_TERMINAL_SYNC_UPLOADING, MSG_TERMINAL_SYNC_UPLOADING,
MSG_TERMINAL_SYNC_RUNNING, MSG_TERMINAL_SYNC_RUNNING,
} from 'ee/ide/messages'; } from 'ee/ide/messages';
import Icon from '~/vue_shared/components/icon.vue';
const TEST_MESSAGE = 'lorem ipsum dolar sit'; const TEST_MESSAGE = 'lorem ipsum dolar sit';
const START_LOADING = 'START_LOADING'; const START_LOADING = 'START_LOADING';
......
import { commitActionTypes } from '~/ide/constants';
import createDiff from 'ee/ide/lib/create_diff'; import createDiff from 'ee/ide/lib/create_diff';
import createFileDiff from 'ee/ide/lib/create_file_diff'; import createFileDiff from 'ee/ide/lib/create_file_diff';
import { commitActionTypes } from '~/ide/constants';
import { import {
createNewFile, createNewFile,
createUpdatedFile, createUpdatedFile,
......
import { commitActionTypes } from '~/ide/constants';
import createFileDiff from 'ee/ide/lib/create_file_diff'; import createFileDiff from 'ee/ide/lib/create_file_diff';
import { commitActionTypes } from '~/ide/constants';
import { import {
createUpdatedFile, createUpdatedFile,
createNewFile, createNewFile,
......
import { getWebSocketUrl } from '~/lib/utils/url_utility';
import createDiff from 'ee/ide/lib/create_diff'; import createDiff from 'ee/ide/lib/create_diff';
import { import {
canConnect, canConnect,
...@@ -8,6 +7,7 @@ import { ...@@ -8,6 +7,7 @@ import {
MSG_CONNECTION_ERROR, MSG_CONNECTION_ERROR,
SERVICE_DELAY, SERVICE_DELAY,
} from 'ee/ide/lib/mirror'; } from 'ee/ide/lib/mirror';
import { getWebSocketUrl } from '~/lib/utils/url_utility';
jest.mock('ee/ide/lib/create_diff', () => jest.fn()); jest.mock('ee/ide/lib/create_diff', () => jest.fn());
......
import { createLocalVue } from '@vue/test-utils'; import { createLocalVue } from '@vue/test-utils';
import Vuex from 'vuex'; import Vuex from 'vuex';
import { SET_BRANCH_WORKING_REFERENCE } from '~/ide/stores/mutation_types';
import { TEST_HOST } from 'helpers/test_constants'; import { TEST_HOST } from 'helpers/test_constants';
import terminalModule from 'ee/ide/stores/modules/terminal'; import terminalModule from 'ee/ide/stores/modules/terminal';
import createTerminalPlugin from 'ee/ide/stores/plugins/terminal'; import createTerminalPlugin from 'ee/ide/stores/plugins/terminal';
import { SET_BRANCH_WORKING_REFERENCE } from '~/ide/stores/mutation_types';
const TEST_DATASET = { const TEST_DATASET = {
eeWebTerminalSvgPath: `${TEST_HOST}/web/terminal/svg`, eeWebTerminalSvgPath: `${TEST_HOST}/web/terminal/svg`,
......
import eventHub from '~/ide/eventhub';
import { createStore } from '~/ide/stores';
import createTerminalPlugin from 'ee/ide/stores/plugins/terminal'; import createTerminalPlugin from 'ee/ide/stores/plugins/terminal';
import createTerminalSyncPlugin from 'ee/ide/stores/plugins/terminal_sync'; import createTerminalSyncPlugin from 'ee/ide/stores/plugins/terminal_sync';
import { SET_SESSION_STATUS } from 'ee/ide/stores/modules/terminal/mutation_types'; import { SET_SESSION_STATUS } from 'ee/ide/stores/modules/terminal/mutation_types';
import { RUNNING, STOPPING } from 'ee/ide/constants'; import { RUNNING, STOPPING } from 'ee/ide/constants';
import { createStore } from '~/ide/stores';
import eventHub from '~/ide/eventhub';
jest.mock('ee/ide/lib/mirror'); jest.mock('ee/ide/lib/mirror');
......
import MockAdapter from 'axios-mock-adapter'; import MockAdapter from 'axios-mock-adapter';
import httpStatus from '~/lib/utils/http_status';
import axios from '~/lib/utils/axios_utils';
import testAction from 'spec/helpers/vuex_action_helper'; import testAction from 'spec/helpers/vuex_action_helper';
import { TEST_HOST } from 'spec/test_constants'; import { TEST_HOST } from 'spec/test_constants';
import { CHECK_CONFIG, CHECK_RUNNERS, RETRY_RUNNERS_INTERVAL } from 'ee/ide/constants'; import { CHECK_CONFIG, CHECK_RUNNERS, RETRY_RUNNERS_INTERVAL } from 'ee/ide/constants';
import * as mutationTypes from 'ee/ide/stores/modules/terminal/mutation_types'; import * as mutationTypes from 'ee/ide/stores/modules/terminal/mutation_types';
import * as messages from 'ee/ide/stores/modules/terminal/messages'; import * as messages from 'ee/ide/stores/modules/terminal/messages';
import * as actions from 'ee/ide/stores/modules/terminal/actions/checks'; import * as actions from 'ee/ide/stores/modules/terminal/actions/checks';
import axios from '~/lib/utils/axios_utils';
import httpStatus from '~/lib/utils/http_status';
const TEST_PROJECT_PATH = 'lorem/root'; const TEST_PROJECT_PATH = 'lorem/root';
const TEST_BRANCH_ID = 'master'; const TEST_BRANCH_ID = 'master';
......
import MockAdapter from 'axios-mock-adapter'; import MockAdapter from 'axios-mock-adapter';
import axios from '~/lib/utils/axios_utils';
import httpStatus from '~/lib/utils/http_status';
import testAction from 'spec/helpers/vuex_action_helper'; import testAction from 'spec/helpers/vuex_action_helper';
import { STARTING, PENDING, STOPPING, STOPPED } from 'ee/ide/constants'; import { STARTING, PENDING, STOPPING, STOPPED } from 'ee/ide/constants';
import * as messages from 'ee/ide/stores/modules/terminal/messages'; import * as messages from 'ee/ide/stores/modules/terminal/messages';
import * as mutationTypes from 'ee/ide/stores/modules/terminal/mutation_types'; import * as mutationTypes from 'ee/ide/stores/modules/terminal/mutation_types';
import actionsModule, * as actions from 'ee/ide/stores/modules/terminal/actions/session_controls'; import actionsModule, * as actions from 'ee/ide/stores/modules/terminal/actions/session_controls';
import httpStatus from '~/lib/utils/http_status';
import axios from '~/lib/utils/axios_utils';
const TEST_PROJECT_PATH = 'lorem/root'; const TEST_PROJECT_PATH = 'lorem/root';
const TEST_BRANCH_ID = 'master'; const TEST_BRANCH_ID = 'master';
......
import MockAdapter from 'axios-mock-adapter'; import MockAdapter from 'axios-mock-adapter';
import axios from '~/lib/utils/axios_utils';
import testAction from 'spec/helpers/vuex_action_helper'; import testAction from 'spec/helpers/vuex_action_helper';
import { PENDING, RUNNING, STOPPING, STOPPED } from 'ee/ide/constants'; import { PENDING, RUNNING, STOPPING, STOPPED } from 'ee/ide/constants';
import * as messages from 'ee/ide/stores/modules/terminal/messages'; import * as messages from 'ee/ide/stores/modules/terminal/messages';
import * as mutationTypes from 'ee/ide/stores/modules/terminal/mutation_types'; import * as mutationTypes from 'ee/ide/stores/modules/terminal/mutation_types';
import actionsModule, * as actions from 'ee/ide/stores/modules/terminal/actions/session_status'; import actionsModule, * as actions from 'ee/ide/stores/modules/terminal/actions/session_status';
import axios from '~/lib/utils/axios_utils';
const TEST_SESSION = { const TEST_SESSION = {
id: 7, id: 7,
......
import _ from 'underscore'; import _ from 'underscore';
import { sprintf } from '~/locale';
import httpStatus from '~/lib/utils/http_status';
import { TEST_HOST } from 'spec/test_constants'; import { TEST_HOST } from 'spec/test_constants';
import * as messages from 'ee/ide/stores/modules/terminal/messages'; import * as messages from 'ee/ide/stores/modules/terminal/messages';
import { sprintf } from '~/locale';
import httpStatus from '~/lib/utils/http_status';
const TEST_HELP_URL = `${TEST_HOST}/help`; const TEST_HELP_URL = `${TEST_HOST}/help`;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment