fix linting

This commit is contained in:
mahula 2025-02-14 22:23:24 +01:00
parent 1a33891a21
commit 054db690d0
2 changed files with 4 additions and 2 deletions

View File

@ -34,4 +34,4 @@
// visit(originalFn: CommandOriginalFn, url: string, options: Partial<VisitOptions>): Chainable<Element>
// }
// }
// }
// }

View File

@ -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 <reference path="./component" /> 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(<MyComponent />)
// cy.mount(<MyComponent />)