FreeAllMedia/omnirouter

View on GitHub

Showing 2 of 24 total issues

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

import sinon from "sinon";

import Router, {Request} from "../lib/router.js";
import Route from "../lib/route.js";
import Response from "../lib/response.js";
Severity: Major
Found in es6/spec/router.spec.js - About 1 day to fix

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

    let sinon = require("sinon");
    
    import Router from "../lib/router.js";
    import Response from "../lib/response.js";
    
    
    Severity: Minor
    Found in es6/spec/response.spec.js - About 2 hrs to fix
      Severity
      Category
      Status
      Source
      Language