Showing 2 of 14 total issues
File index.js
has 294 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import chai from 'chai';
import sinonChai from 'sinon-chai';
chai.should();
chai.use(sinonChai);
Function createFetchAction
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function createFetchAction(id, url, options = {}, meta = {}) {
if (!id || !url) {
throw new Error('Must provide action identifier and url');
}