src/app/routes/article/getInitialData/index.test.ts

Summary

Maintainability
A
2 hrs
Test Coverage

File index.test.ts has 266 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import { Agent } from 'undici';
import * as getOnwardsPageData from '../utils/getOnwardsData';
import * as fetchPageData from '../../utils/fetchPageData';
import nodeLogger from '../../../../testHelpers/loggerMock';
import { BFF_FETCH_ERROR } from '../../../lib/logger.const';
Severity: Minor
Found in src/app/routes/article/getInitialData/index.test.ts - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status