src/helper/timeouts.ts

Summary

Maintainability
A
2 hrs
Test Coverage

Function reasonableTime has 46 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function reasonableTime(
  promise: any,
  description: any,
  timeoutConfig: any,
  app?: any
Severity: Minor
Found in src/helper/timeouts.ts - About 1 hr to fix

    Function maybeTimingOut has 28 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        function maybeTimingOut(shouldError: any) {
          if (!finished) {
            if (shouldError === true) {
              errored = true
              if (timeoutConfig.dieOnTimeout) {
    Severity: Minor
    Found in src/helper/timeouts.ts - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status