graycoreio/daffodil

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

Summary

Maintainability
A
1 hr
Test Coverage

Function cartResolveReducer has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function cartResolveReducer<T extends DaffCart = DaffCart>(
  state = daffCartReducerInitialState,
  action: ActionTypes<T>,
): DaffCartReducerState<T> {
  switch (action.type) {
Severity: Minor
Found in libs/cart/state/src/reducers/cart-resolve/cart-resolve.reducer.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status