SuitestAutomation/suitest-js-api

View on GitHub
lib/chains/takeScreenshotChain.js

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

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

const takeScreenshotFactory = (classInstance) => {
    const toJSON = () => ({type: 'takeScreenshot'});

    const toStringComposer = makeToStringComposer(toJSON);
    const thenComposer = makeThenComposer(toJSON);
Severity: Minor
Found in lib/chains/takeScreenshotChain.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status