diff --git a/packages/web-app-files/tests/unit/views/views.shared.ts b/packages/web-app-files/tests/unit/views/views.shared.ts index 5a453fb08ee..657d0c3edd5 100644 --- a/packages/web-app-files/tests/unit/views/views.shared.ts +++ b/packages/web-app-files/tests/unit/views/views.shared.ts @@ -16,6 +16,11 @@ localVue.use(GetTextPlugin, { translations: 'does-not-matter.json', silent: true }) +// mock `v-translate` directive +localVue.directive('translate', { + // eslint-disable-next-line @typescript-eslint/no-empty-function + inserted: () => {} +}) const stubs = { 'create-and-upload': true,