src/__tests__/components/Education/TestUtils.ts
Function testEducationMain
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function testEducationMain(div: HTMLDivElement, locale: Locale) {
const from = 2005
const to = 2010
expect(div).toHaveClass('light-component')
const divContainer = div.querySelector('div.container')
Function testEducationItem
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
container: HTMLElement,
from: number,
to: number,
title: string,
testHeading: TestHeadingFunction = (h4: HTMLHeadingElement) =>