From 07d86251cb8d1245f34b8538b33d49632ab4a615 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Fri, 21 Feb 2025 13:50:04 +0100 Subject: [PATCH] test: refs #8647 mock keyShortcut --- test/vitest/helper.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/vitest/helper.js b/test/vitest/helper.js index 1e693ab63..25482a1f6 100644 --- a/test/vitest/helper.js +++ b/test/vitest/helper.js @@ -90,6 +90,9 @@ export function createWrapper(component, options) { const defaultOptions = { global: { plugins: [i18n, pinia], + directives: { + shortcut: {}, + }, }, mocks: { t: (tKey) => tKey,