Commit 93a7b8f1 authored by Rémy Coutable's avatar Rémy Coutable

Move EE-specific JS tests to ee/spec/javascripts, 3rd batch

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 73e0679e
......@@ -6,7 +6,7 @@ import axios from '~/lib/utils/axios_utils';
import epicSidebar from 'ee/epics/sidebar/components/sidebar_app.vue';
import mountComponent from 'spec/helpers/vue_mount_component_helper';
import { props } from '../../epic_show/mock_data';
import { props } from 'ee_spec/epics/epic_show/mock_data';
describe('epicSidebar', () => {
let vm;
......
......@@ -2,7 +2,7 @@ import Vue from 'vue';
import SidebarParticipants from 'ee/epics/sidebar/components/sidebar_participants.vue';
import mountComponent from 'spec/helpers/vue_mount_component_helper';
import { mockParticipants } from '../../epic_show/mock_data';
import { mockParticipants } from 'ee_spec/epics/epic_show/mock_data';
const createComponent = () => {
const Component = Vue.extend(SidebarParticipants);
......
......@@ -2,7 +2,7 @@ import Vue from 'vue';
import NodeDetailsSectionMainComponent from 'ee/geo_nodes/components/node_detail_sections/node_details_section_main.vue';
import mountComponent from 'spec/helpers/vue_mount_component_helper';
import { mockNode, mockNodeDetails } from '../../mock_data';
import { mockNode, mockNodeDetails } from 'ee_spec/geo_nodes/mock_data';
const createComponent = ({
node = Object.assign({}, mockNode),
......
......@@ -3,7 +3,7 @@ import Vue from 'vue';
import NodeDetailsSectionOtherComponent from 'ee/geo_nodes/components/node_detail_sections/node_details_section_other.vue';
import mountComponent from 'spec/helpers/vue_mount_component_helper';
import { numberToHumanSize } from '~/lib/utils/number_utils';
import { mockNodeDetails } from '../../mock_data';
import { mockNodeDetails } from 'ee_spec/geo_nodes/mock_data';
const createComponent = (
nodeDetails = Object.assign({}, mockNodeDetails),
......
......@@ -2,7 +2,7 @@ import Vue from 'vue';
import NodeDetailsSectionSyncComponent from 'ee/geo_nodes/components/node_detail_sections/node_details_section_sync.vue';
import mountComponent from 'spec/helpers/vue_mount_component_helper';
import { mockNodeDetails } from '../../mock_data';
import { mockNodeDetails } from 'ee_spec/geo_nodes/mock_data';
const createComponent = (
nodeDetails = Object.assign({}, mockNodeDetails),
......
......@@ -2,7 +2,7 @@ import Vue from 'vue';
import NodeDetailsSectionVerificationComponent from 'ee/geo_nodes/components/node_detail_sections/node_details_section_verification.vue';
import mountComponent from 'spec/helpers/vue_mount_component_helper';
import { mockNodeDetails } from '../../mock_data';
import { mockNodeDetails } from 'ee_spec/geo_nodes/mock_data';
const createComponent = ({
nodeDetails = mockNodeDetails,
......
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