mirror of
https://github.com/nextcloud/server.git
synced 2026-04-13 13:08:09 -04:00
Merge pull request #49299 from nextcloud/tests/fix-jest-leftover
test: Fix test mocks for nextcloud-dialogs
This commit is contained in:
commit
8fd7210aaa
1 changed files with 7 additions and 7 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue