Showing 2 of 10 total issues
File load.service.specs.js
has 561 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import assert from 'assert';
import sinon from 'sinon';
import Promise from 'bluebird';
import { LoadService } from './load.service';
Function LoadService
has 72 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function LoadService($q, $log) {
return {
runState: runCustomState.bind(null, 'actions'),
runCustomState: runCustomState,
loadState: loadCustomState.bind(null, 'states'),