pankod/refine

View on GitHub
cypress/support/commands/document-title-handler.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function assertDocumentTitle has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const assertDocumentTitle = (resource: string, action?: IAction) => {
  switch (action) {
    case "list":
      cy.document()
        .its("title")
Severity: Minor
Found in cypress/support/commands/document-title-handler.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status