mirror of
https://github.com/nextcloud/server.git
synced 2025-01-31 06:43:12 +00:00
fa502614fa
This also fixes Typescript issue but requires to slightly adjust the Navigation test as the progress bar is not visible (because it is overlayed by another element). Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
17 lines
498 B
TypeScript
17 lines
498 B
TypeScript
/*!
|
|
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
import type { mount } from '@cypress/vue2'
|
|
|
|
declare global {
|
|
// eslint-disable-next-line @typescript-eslint/no-namespace
|
|
namespace Cypress {
|
|
interface Chainable {
|
|
mount: typeof mount
|
|
mockInitialState: (app: string, key: string, value: unknown) => Cypress.Chainable<void>
|
|
unmockInitialState: (app?: string, key?: string) => Cypress.Chainable<void>
|
|
}
|
|
}
|
|
}
|