From 29a7f7f6efd2a9791fdcfb9f9f7e862bafd8da82 Mon Sep 17 00:00:00 2001 From: John Molakvoæ Date: Fri, 13 Jan 2023 17:32:57 +0100 Subject: feat(files_trashbin): migrate to vue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ --- cypress/support/component.ts | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'cypress/support') 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 . * */ +/* 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 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) => { -- cgit v1.2.3