Commit 4d47d9a9 authored by Nicolò Maria Mezzopera's avatar Nicolò Maria Mezzopera

Merge branch 'remove-unused-prop' into 'master'

Remove unused required prop in a component

See merge request gitlab-org/gitlab!38428
parents 2a9b1833 a4a9245b
...@@ -27,10 +27,6 @@ export default { ...@@ -27,10 +27,6 @@ export default {
DashboardNotConfigured, DashboardNotConfigured,
}, },
props: { props: {
vulnerableProjectsEndpoint: {
type: String,
required: true,
},
vulnerabilitiesExportEndpoint: { vulnerabilitiesExportEndpoint: {
type: String, type: String,
required: true, required: true,
......
...@@ -17,7 +17,6 @@ describe('First Class Instance Dashboard Component', () => { ...@@ -17,7 +17,6 @@ describe('First Class Instance Dashboard Component', () => {
$apollo: { queries: { projects: { loading } } }, $apollo: { queries: { projects: { loading } } },
}); });
const vulnerableProjectsEndpoint = '/vulnerable/projects';
const vulnerabilitiesExportEndpoint = '/vulnerabilities/exports'; const vulnerabilitiesExportEndpoint = '/vulnerabilities/exports';
const findInstanceVulnerabilities = () => wrapper.find(FirstClassInstanceVulnerabilities); const findInstanceVulnerabilities = () => wrapper.find(FirstClassInstanceVulnerabilities);
...@@ -35,7 +34,6 @@ describe('First Class Instance Dashboard Component', () => { ...@@ -35,7 +34,6 @@ describe('First Class Instance Dashboard Component', () => {
}, },
mocks, mocks,
propsData: { propsData: {
vulnerableProjectsEndpoint,
vulnerabilitiesExportEndpoint, vulnerabilitiesExportEndpoint,
}, },
stubs: { stubs: {
......
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