munchkins/munchkins.github.io

View on GitHub

Showing 4 of 89 total issues

File actions.spec.js has 311 lines of code (exceeds 250 allowed). Consider refactoring.
Open

describe('Actions', () => {
  let Actions;

  let buildingsMock;
  let craftingMock;
Severity: Minor
Found in spec/js/services/actions.spec.js - About 3 hrs to fix

    Function testStructure has 60 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    const testStructure = function(source, exp) {
      describe('resources', () => {
        testExpected(source, exp);
    
        const fields = {
    Severity: Major
    Found in spec/js/helpers.js - About 2 hrs to fix

      Function exports has 56 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      module.exports = function(config) {
        config.set({
          logLevel: 'INFO',
          singleRun: true,
          basePath: './',
      Severity: Major
      Found in karma.conf.js - About 2 hrs to fix

        Function testResources has 34 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        const testResources = function(source, exp) {
          describe('resources', () => {
            testExpected(source, exp);
        
            const fields = {
        Severity: Minor
        Found in spec/js/helpers.js - About 1 hr to fix
          Severity
          Category
          Status
          Source
          Language