0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-04-14 13:29:21 +00:00

test: Fix test mocks for nextcloud-dialogs

Leftover from Jest -> Vitest migration

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
Ferdinand Thiessen 2024-11-15 01:52:16 +01:00
parent ca4be91923
commit c3f38a99d5
No known key found for this signature in database
GPG key ID: 45FAE7268762B400

View file

@ -3,11 +3,11 @@
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import { jest } from '@jest/globals'
import { vi } from 'vitest'
export const showMessage = jest.fn()
export const showSuccess = jest.fn()
export const showWarning = jest.fn()
export const showInfo = jest.fn()
export const showError = jest.fn()
export const showUndo = jest.fn()
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()