SuitestAutomation/suitest-js-api

View on GitHub
lib/chains/saveScreenshotChain.js

Summary

Maintainability
A
2 hrs
Test Coverage
A
100%

Function saveScreenshotFactory has 55 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const saveScreenshotFactory = (classInstance) => {
    function getPlaceholdersValues(date = new Date()) {
        const userStackItem = getFirstNotSuitestStackItem();

        return {
Severity: Major
Found in lib/chains/saveScreenshotChain.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status