mirror of
https://github.com/nextcloud/server.git
synced 2025-04-28 11:03:00 +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:
parent
ca4be91923
commit
c3f38a99d5
1 changed files with 7 additions and 7 deletions
|
@ -3,11 +3,11 @@
|
||||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { jest } from '@jest/globals'
|
import { vi } from 'vitest'
|
||||||
|
|
||||||
export const showMessage = jest.fn()
|
export const showMessage = vi.fn()
|
||||||
export const showSuccess = jest.fn()
|
export const showSuccess = vi.fn()
|
||||||
export const showWarning = jest.fn()
|
export const showWarning = vi.fn()
|
||||||
export const showInfo = jest.fn()
|
export const showInfo = vi.fn()
|
||||||
export const showError = jest.fn()
|
export const showError = vi.fn()
|
||||||
export const showUndo = jest.fn()
|
export const showUndo = vi.fn()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue