Showing 2 of 26 total issues
File Retry.spec.tsx
has 356 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import { shallow } from 'enzyme';
import * as React from 'react';
import { Retry } from '../';
import { actionTypes } from '../utils';
Function render
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
return (
<Retry saga={{ call: getCatFacts, args: ['5887e1d85c873e0011036889'] }}>
{(retryState, retry) => {
if (retryState.loading) {