Commit 47d340be authored by Kev's avatar Kev

Rename main.vue to vulnerability.vue

parent 3faedfb3
import Vue from 'vue'; import Vue from 'vue';
import MainApp from 'ee/vulnerabilities/components/main.vue'; import MainApp from 'ee/vulnerabilities/components/vulnerability.vue';
function createMainApp() { function createMainApp() {
const el = document.getElementById('js-vulnerability-main'); const el = document.getElementById('js-vulnerability-main');
......
...@@ -6,9 +6,6 @@ import VulnerabilityFooter from './footer.vue'; ...@@ -6,9 +6,6 @@ import VulnerabilityFooter from './footer.vue';
import { convertObjectPropsToCamelCase } from '~/lib/utils/common_utils'; import { convertObjectPropsToCamelCase } from '~/lib/utils/common_utils';
export default { export default {
// eslint-disable-next-line @gitlab/require-i18n-strings
name: 'Vulnerability',
components: { VulnerabilityHeader, VulnerabilityDetails, VulnerabilityFooter }, components: { VulnerabilityHeader, VulnerabilityDetails, VulnerabilityFooter },
props: { props: {
......
import { shallowMount } from '@vue/test-utils'; import { shallowMount } from '@vue/test-utils';
import Main from 'ee/vulnerabilities/components/main.vue'; import Main from 'ee/vulnerabilities/components/vulnerability.vue';
import Header from 'ee/vulnerabilities/components/header.vue'; import Header from 'ee/vulnerabilities/components/header.vue';
import Details from 'ee/vulnerabilities/components/details.vue'; import Details from 'ee/vulnerabilities/components/details.vue';
import Footer from 'ee/vulnerabilities/components/footer.vue'; import Footer from 'ee/vulnerabilities/components/footer.vue';
......
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