LiberTEM/LiberTEM

View on GitHub
client/src/progress/reducers.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function progressReducer has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const progressReducer = (state = initialProgressstate, action: AllActions): ProgressReducerState => {
    switch (action.type) {
        case channelActions.ActionTypes.JOB_PROGRESS: {
            switch (action.payload.details.event) {
                case 'start':
Severity: Minor
Found in client/src/progress/reducers.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status