src/__tests__/components/Portfolio/TestUtils.ts
Function testPortfolioMain
has 110 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function testPortfolioMain(div: HTMLDivElement) {
const fixture = new Map<string, PortfolioMainFixture>([
['Markets', {
url: 'https://markets.bitcoin.com/',
title: 'business-card-portfolio-markets-title',
Function testPortfolioItem
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
div: HTMLDivElement,
url: string,
name: string,
title: string,
subtitle: string,