1
0

cypress-component.d.ts 498 B

1234567891011121314151617
  1. /*!
  2. * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
  3. * SPDX-License-Identifier: AGPL-3.0-or-later
  4. */
  5. import type { mount } from '@cypress/vue2'
  6. declare global {
  7. // eslint-disable-next-line @typescript-eslint/no-namespace
  8. namespace Cypress {
  9. interface Chainable {
  10. mount: typeof mount
  11. mockInitialState: (app: string, key: string, value: unknown) => Cypress.Chainable<void>
  12. unmockInitialState: (app?: string, key?: string) => Cypress.Chainable<void>
  13. }
  14. }
  15. }