graycoreio/daffodil

View on GitHub
libs/customer-payment/state/src/reducers/payment-entities/reducer.ts

Summary

Maintainability
A
2 hrs
Test Coverage

Function daffCustomerPaymentEntitiesReducer has 56 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function daffCustomerPaymentEntitiesReducer<
  TPayment extends DaffCustomerPayment = DaffCustomerPayment,
  TRequest extends DaffCustomerPaymentRequest = DaffCustomerPaymentRequest,
>(
  state = daffCustomerPaymentEntitiesAdapter<TPayment>().getInitialState(),
Severity: Major
Found in libs/customer-payment/state/src/reducers/payment-entities/reducer.ts - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status