nimeshgurung/redux-retry

View on GitHub

Showing 2 of 26 total issues

File Retry.spec.tsx has 356 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import { shallow } from 'enzyme';
import * as React from 'react';
import { Retry } from '../';
import { actionTypes } from '../utils';

Severity: Minor
Found in src/__tests__/Retry.spec.tsx - About 4 hrs to fix

    Function render has 32 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      render() {
        return (
          <Retry saga={{ call: getCatFacts, args: ['5887e1d85c873e0011036889'] }}>
            {(retryState, retry) => {
              if (retryState.loading) {
    Severity: Minor
    Found in demo/App.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language