src/helper/timeouts.ts
Function reasonableTime
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function reasonableTime(
promise: any,
description: any,
timeoutConfig: any,
app?: any
Function maybeTimingOut
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function maybeTimingOut(shouldError: any) {
if (!finished) {
if (shouldError === true) {
errored = true
if (timeoutConfig.dieOnTimeout) {