aboutsummaryrefslogtreecommitdiffstats
path: root/__mocks__/@nextcloud
diff options
context:
space:
mode:
Diffstat (limited to '__mocks__/@nextcloud')
-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()