Commit 755a8fca authored by Nicolò Maria Mezzopera's avatar Nicolò Maria Mezzopera Committed by Filipa Lacerda

Move package details app to details sub-folder

- app.vue
- code_instruction.vue
- information.vue
- installation.vue
- constants.js
- index.js
- update tests path and folder
parent 5a023979
import initPackageDetail from 'ee/packages';
import initPackageDetail from 'ee/packages/details/';
document.addEventListener('DOMContentLoaded', initPackageDetail);
import { mount } from '@vue/test-utils';
import { GlModal } from '@gitlab/ui';
import PackagesApp from 'ee/packages/components/app.vue';
import PackageInformation from 'ee/packages/components/information.vue';
import PackageInstallation from 'ee/packages/components/installation.vue';
import { mavenPackage, mavenFiles, npmPackage, npmFiles } from '../mock_data';
import PackagesApp from 'ee/packages/details/components/app.vue';
import PackageInformation from 'ee/packages/details/components/information.vue';
import PackageInstallation from 'ee/packages/details/components/installation.vue';
import { mavenPackage, mavenFiles, npmPackage, npmFiles } from '../../mock_data';
describe('PackagesApp', () => {
let wrapper;
......
import { mount } from '@vue/test-utils';
import CodeInstruction from 'ee/packages/components/code_instruction.vue';
import CodeInstruction from 'ee/packages/details/components/code_instruction.vue';
describe('Package code instruction', () => {
let wrapper;
......
import { shallowMount } from '@vue/test-utils';
import PackageInformation from 'ee/packages/components/information.vue';
import PackageInformation from 'ee/packages/details/components/information.vue';
describe('PackageInformation', () => {
let wrapper;
......
import { mount } from '@vue/test-utils';
import PackageInstallation from 'ee/packages/components/installation.vue';
import PackageInstallation from 'ee/packages/details/components/installation.vue';
describe('PackageInstallation', () => {
let wrapper;
......
......@@ -6,7 +6,7 @@ module QA
module Project
module Packages
class Show < QA::Page::Base
view 'ee/app/assets/javascripts/packages/components/app.vue' do
view 'ee/app/assets/javascripts/packages/details/components/app.vue' do
element :delete_button
element :delete_modal_button
element :package_information_content
......
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