mirror of
https://github.com/nextcloud/server.git
synced 2026-02-19 02:38:40 -05:00
test: adjust test code for updated @nextcloud/vue version
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
parent
3e365aaa51
commit
ec263a328a
3 changed files with 6 additions and 1 deletions
|
|
@ -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'
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ export const registerHotkeys = function() {
|
|||
useHotKey('t', () => executeAction(manageTagAction), {
|
||||
stop: true,
|
||||
prevent: true,
|
||||
window,
|
||||
})
|
||||
|
||||
logger.debug('Hotkeys registered')
|
||||
|
|
|
|||
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue