From 4a90d5328cae20e913612eec447346b55c2c12ae Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Thu, 5 Sep 2024 11:28:17 +0200 Subject: test: Add end-to-end tests for new public share Vue UI Signed-off-by: Ferdinand Thiessen --- vitest.config.ts | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'vitest.config.ts') diff --git a/vitest.config.ts b/vitest.config.ts index e58902789b3..cdf322223bd 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -10,6 +10,11 @@ export default defineConfig({ test: { include: ['{apps,core}/**/*.{test,spec}.?(c|m)[jt]s?(x)'], environment: 'jsdom', + environmentOptions: { + jsdom: { + url: 'http://nextcloud.local', + }, + }, coverage: { include: ['apps/*/src/**', 'core/src/**'], exclude: ['**.spec.*', '**.test.*', '**.cy.*', 'core/src/tests/**'], -- cgit v1.2.3