aboutsummaryrefslogtreecommitdiffstats
path: root/__mocks__
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-11-15 01:52:16 +0100
committerFerdinand Thiessen <opensource@fthiessen.de>2024-11-15 02:31:56 +0100
commitc3f38a99d5bc0972e34a0446be5116beb2785dde (patch)
tree6b4b97fea2bd4436e99331bca2f43f0a65eff5fb /__mocks__
parentca4be919235208a8395c5381108058cedbd5eda3 (diff)
downloadnextcloud-server-c3f38a99d5bc0972e34a0446be5116beb2785dde.tar.gz
nextcloud-server-c3f38a99d5bc0972e34a0446be5116beb2785dde.zip
test: Fix test mocks for nextcloud-dialogstests/fix-jest-leftover
Leftover from Jest -> Vitest migration Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to '__mocks__')
-rw-r--r--__mocks__/@nextcloud/dialogs.ts14
1 files changed, 7 insertions, 7 deletions
diff --git a/__mocks__/@nextcloud/dialogs.ts b/__mocks__/@nextcloud/dialogs.ts
index e56e07f691f..54705735508 100644
--- a/__mocks__/@nextcloud/dialogs.ts
+++ b/__mocks__/@nextcloud/dialogs.ts
@@ -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()