diff options
Diffstat (limited to '__mocks__/@nextcloud/dialogs.ts')
-rw-r--r-- | __mocks__/@nextcloud/dialogs.ts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/__mocks__/@nextcloud/dialogs.ts b/__mocks__/@nextcloud/dialogs.ts new file mode 100644 index 00000000000..54705735508 --- /dev/null +++ b/__mocks__/@nextcloud/dialogs.ts @@ -0,0 +1,13 @@ +/** + * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + +import { vi } from 'vitest' + +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() |