diff --git a/cypress/support/commands.ts b/cypress/support/commands.ts index 698b01a4..95857aea 100644 --- a/cypress/support/commands.ts +++ b/cypress/support/commands.ts @@ -34,4 +34,4 @@ // visit(originalFn: CommandOriginalFn, url: string, options: Partial): Chainable // } // } -// } \ No newline at end of file +// } diff --git a/cypress/support/component.ts b/cypress/support/component.ts index fd3bffc7..13ea7ddf 100644 --- a/cypress/support/component.ts +++ b/cypress/support/component.ts @@ -14,6 +14,7 @@ // *********************************************************** // Import commands.js using ES2015 syntax: +// eslint-disable-next-line import/no-unassigned-import import './commands' import { mount } from 'cypress/react' @@ -23,6 +24,7 @@ import { mount } from 'cypress/react' // Alternatively, can be defined in cypress/support/component.d.ts // with a at the top of your spec. declare global { + // eslint-disable-next-line @typescript-eslint/no-namespace namespace Cypress { interface Chainable { mount: typeof mount @@ -33,4 +35,4 @@ declare global { Cypress.Commands.add('mount', mount) // Example use: -// cy.mount() \ No newline at end of file +// cy.mount()