gocodebox/lifterlms

View on GitHub
packages/scripts/e2e/bootstrap.js

Summary

Maintainability
A
1 hr
Test Coverage

Function toMatchStringWithQuotes has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    async toMatchStringWithQuotes( received, expected ) {
        received = received.replace( /[“”]/g, '"' ).replace( /[‘’]/g, "'" );

        const options = {
            comment: 'String with quotes equality',
Severity: Minor
Found in packages/scripts/e2e/bootstrap.js - About 1 hr to fix

    Avoid too many return statements within this function.
    Open

                return true;
    Severity: Major
    Found in packages/scripts/e2e/bootstrap.js - About 30 mins to fix

      There are no issues that match your filters.

      Category
      Status