teamdigitale/italia-ts-commons

View on GitHub
src/__mocks__/response.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function mockRes has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function mockRes(): any {
  const response = {
    append: jest.fn(),
    attachment: jest.fn(),
    clearCookie: jest.fn(),
Severity: Minor
Found in src/__mocks__/response.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status