SuitestAutomation/suitest-js-api

View on GitHub
lib/chains/sleepChain.js

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

Function sleepFactory has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const sleepFactory = (classInstance) => {
    const toJSON = (data) => ({
        type: getRequestType(data, false),
        request: {
            type: 'sleep',
Severity: Minor
Found in lib/chains/sleepChain.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status