Commit 87bf48ef authored by Filipa Lacerda's avatar Filipa Lacerda

Merge branch '33905-move-package-details-to-subfolder' into 'master'

Move package details vue app to dedicated subfolder

See merge request gitlab-org/gitlab!20167
parents 5a023979 755a8fca
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