jonpitch/danger-brewing

View on GitHub
tests/helpers/fixtures.js

Summary

Maintainability
B
4 hrs
Test Coverage

Function stubApplicationFixture has 89 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function stubApplicationFixture() {
  return {
    beers: {
      '-KO1N4Ofi1IwSetMe9ta': {
        abv: 6.5,
Severity: Major
Found in tests/helpers/fixtures.js - About 3 hrs to fix

    Function stubHubAndTapsFixture has 33 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    export function stubHubAndTapsFixture() {
      return {
        hubs: {
          '-KO1EJBmskdNLOc1S-4c': {
            humidity: 25,
    Severity: Minor
    Found in tests/helpers/fixtures.js - About 1 hr to fix

      Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
      Open

      export function stubHubAndTapsFixture() {
      Severity: Minor
      Found in tests/helpers/fixtures.js by eslint

      For more information visit Source: http://eslint.org/docs/rules/

      There are no issues that match your filters.

      Category
      Status