0
0
mirror of https://github.com/nextcloud/server.git synced 2024-12-28 07:58:42 +00:00
nextcloud_server/__mocks__/@nextcloud/dialogs.ts
Ferdinand Thiessen c3f38a99d5
test: Fix test mocks for nextcloud-dialogs
Leftover from Jest -> Vitest migration

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-15 02:31:56 +01:00

14 lines
360 B
TypeScript

/**
* SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import { vi } from 'vitest'
export const showMessage = vi.fn()
export const showSuccess = vi.fn()
export const showWarning = vi.fn()
export const showInfo = vi.fn()
export const showError = vi.fn()
export const showUndo = vi.fn()