graycoreio/daffodil

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

Summary

Maintainability
A
2 hrs
Test Coverage

Function cartPaymentReducer has 62 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function cartPaymentReducer<T extends DaffCart = DaffCart>(
  state = daffCartReducerInitialState,
  action: ActionTypes<T>,
): DaffCartReducerState<T> {
  switch (action.type) {
Severity: Major
Found in libs/cart/state/src/reducers/cart-payment/cart-payment.reducer.ts - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status