diff options
Diffstat (limited to 'apps/files/src/actions/deleteAction.spec.ts')
-rw-r--r-- | apps/files/src/actions/deleteAction.spec.ts | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/files/src/actions/deleteAction.spec.ts b/apps/files/src/actions/deleteAction.spec.ts index 8d99b195c3d..d7b7cd5307d 100644 --- a/apps/files/src/actions/deleteAction.spec.ts +++ b/apps/files/src/actions/deleteAction.spec.ts @@ -21,22 +21,21 @@ */ import { action } from './deleteAction' import { expect } from '@jest/globals' -import { File, Folder, Permission } from '@nextcloud/files' +import { File, Folder, Permission, View } from '@nextcloud/files' import { FileAction } from '../services/FileAction' import * as eventBus from '@nextcloud/event-bus' import axios from '@nextcloud/axios' import logger from '../logger' -import type { Navigation } from '../services/Navigation' const view = { id: 'files', name: 'Files', -} as Navigation +} as View const trashbinView = { id: 'trashbin', name: 'Trashbin', -} as Navigation +} as View describe('Delete action conditions tests', () => { test('Default values', () => { |