diff options
Diffstat (limited to 'cypress/support/component.ts')
-rw-r--r-- | cypress/support/component.ts | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/cypress/support/component.ts b/cypress/support/component.ts index be4b8c94b1b..b56c3dc3604 100644 --- a/cypress/support/component.ts +++ b/cypress/support/component.ts @@ -19,21 +19,9 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +/* eslint-disable */ import { mount } from 'cypress/vue2' - -// Augment the Cypress namespace to include type definitions for -// your custom command. -// 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 - } - } -} - + // Example use: // cy.mount(MyComponent) Cypress.Commands.add('mount', (component, optionsOrProps) => { |