aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/actions/renameAction.spec.ts
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2023-08-18 10:59:14 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2023-08-23 14:03:50 +0200
commitb4e71ad0fb282fbc9981924b9783ae6659a9e4fe (patch)
treeac0a921804b87d6c5707dc87c3041938aec505a6 /apps/files/src/actions/renameAction.spec.ts
parentc9a197e6dd699942b0cf36504ff1fa5f5ef26893 (diff)
downloadnextcloud-server-b4e71ad0fb282fbc9981924b9783ae6659a9e4fe.tar.gz
nextcloud-server-b4e71ad0fb282fbc9981924b9783ae6659a9e4fe.zip
chore: use Navigation from `@nextcloud/files`
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/src/actions/renameAction.spec.ts')
-rw-r--r--apps/files/src/actions/renameAction.spec.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/files/src/actions/renameAction.spec.ts b/apps/files/src/actions/renameAction.spec.ts
index c4d5d45cde9..8e76bea4b84 100644
--- a/apps/files/src/actions/renameAction.spec.ts
+++ b/apps/files/src/actions/renameAction.spec.ts
@@ -21,15 +21,14 @@
*/
import { action } from './renameAction'
import { expect } from '@jest/globals'
-import { File, Permission } from '@nextcloud/files'
+import { File, Permission, View } from '@nextcloud/files'
import { FileAction } from '../services/FileAction'
import * as eventBus from '@nextcloud/event-bus'
-import type { Navigation } from '../services/Navigation'
const view = {
id: 'files',
name: 'Files',
-} as Navigation
+} as View
describe('Rename action conditions tests', () => {
test('Default values', () => {