tomchentw/avn-homebrew-with-versions

View on GitHub

Showing 3 of 12 total issues

Function describeHomebrewWithVersions has 125 lines of code (exceeds 25 allowed). Consider refactoring.
Open

describe(`homebrew-with-versions`, function describeHomebrewWithVersions() {
  describe(`match`, function describeMatch() {
    context(`current linked node@5`, function contextCurrentNode5() {
      before(function before() {
        this.timeout(ASYNC_REQUEST_TIMEOUT);
Severity: Major
Found in src/__tests__/homebrew-with-versions.spec.js - About 5 hrs to fix

    Function describeMatch has 123 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      describe(`match`, function describeMatch() {
        context(`current linked node@5`, function contextCurrentNode5() {
          before(function before() {
            this.timeout(ASYNC_REQUEST_TIMEOUT);
            return exec(`brew link node5`);
    Severity: Major
    Found in src/__tests__/homebrew-with-versions.spec.js - About 4 hrs to fix

      Function contextCurrentNode5 has 121 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          context(`current linked node@5`, function contextCurrentNode5() {
            before(function before() {
              this.timeout(ASYNC_REQUEST_TIMEOUT);
              return exec(`brew link node5`);
            });
      Severity: Major
      Found in src/__tests__/homebrew-with-versions.spec.js - About 4 hrs to fix
        Severity
        Category
        Status
        Source
        Language