Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test: adjust test code for updated @nextcloud/vue version
Signed-off-by: Ferdinand Thiessen <[email protected]>
  • Loading branch information
susnux committed Jul 14, 2025
commit ec263a328ae89c64bab5aef46e7764c0c0be3c68
2 changes: 1 addition & 1 deletion apps/files/src/services/HotKeysService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import { dirname } from 'path'
import { useHotKey } from '@nextcloud/vue/dist/Composables/useHotKey.js'
import { useHotKey } from '@nextcloud/vue/composables/useHotKey'

import { action as deleteAction } from '../actions/deleteAction.ts'
import { action as favoriteAction } from '../actions/favoriteAction.ts'
Expand Down
1 change: 1 addition & 0 deletions apps/systemtags/src/services/HotKeysService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export const registerHotkeys = function() {
useHotKey('t', () => executeAction(manageTagAction), {
stop: true,
prevent: true,
window,
})

logger.debug('Hotkeys registered')
Expand Down
4 changes: 4 additions & 0 deletions vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ export default defineConfig({
plugins: [vue()],
test: {
include: ['{apps,core}/**/*.{test,spec}.?(c|m)[jt]s?(x)'],
env: {
LANG: 'en-US',
TZ: 'UTC',
},
environment: 'jsdom',
environmentOptions: {
jsdom: {
Expand Down
Loading