Closed fembau closed 4 months ago
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
Implementation of table representation is moved into another PR to speed up community feature PR
@fembau To fix failing unit test please add empty categories array to frontend/__tests__/__mocks__/softwareIndexData.js
const softwarePageData = {
slug: 'test-slug',
software: softwareItem,
citationInfo: SoftwareCitationItems,
keywords: apiKeywordsBySoftware,
licenseInfo,
repositoryInfo: repoInfo,
mentions: apiMentions,
testimonials: apiTestimonial,
contributors: apiContributors,
relatedTools: apiRelatedSoftware,
relatedProjects: apiRelatedProjects,
isMaintainer: false,
organisations: apiOrganisationsOfSoftware,
// add categories to mock data
categories:[]
}
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
12.5% Coverage on New Code
0.0% Duplication on New Code
How to test:
see #984