We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent ca4be91 commit c3f38a9Copy full SHA for c3f38a9
__mocks__/@nextcloud/dialogs.ts
@@ -3,11 +3,11 @@
3
* SPDX-License-Identifier: AGPL-3.0-or-later
4
*/
5
6
-import { jest } from '@jest/globals'
+import { vi } from 'vitest'
7
8
-export const showMessage = jest.fn()
9
-export const showSuccess = jest.fn()
10
-export const showWarning = jest.fn()
11
-export const showInfo = jest.fn()
12
-export const showError = jest.fn()
13
-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()
0 commit comments