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 {
DashboardNotConfigured,
},
props: {
vulnerableProjectsEndpoint: {
type: String,
required: true,
},
vulnerabilitiesExportEndpoint: {
type: String,
required: true,
......
......@@ -17,7 +17,6 @@ describe('First Class Instance Dashboard Component', () => {
$apollo: { queries: { projects: { loading } } },
});
const vulnerableProjectsEndpoint = '/vulnerable/projects';
const vulnerabilitiesExportEndpoint = '/vulnerabilities/exports';
const findInstanceVulnerabilities = () => wrapper.find(FirstClassInstanceVulnerabilities);
......@@ -35,7 +34,6 @@ describe('First Class Instance Dashboard Component', () => {
},
mocks,
propsData: {
vulnerableProjectsEndpoint,
vulnerabilitiesExportEndpoint,
},
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