aboutsummaryrefslogtreecommitdiffstats
path: root/vitest.config.ts
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-09-05 11:28:17 +0200
committerFerdinand Thiessen <opensource@fthiessen.de>2024-09-06 03:38:48 +0200
commit4a90d5328cae20e913612eec447346b55c2c12ae (patch)
treed032100b7860378c1567bc7dc3f93394c1e8d344 /vitest.config.ts
parentbe884eeaec0de15211ca6318f68bdd7a714f3baa (diff)
downloadnextcloud-server-4a90d5328cae20e913612eec447346b55c2c12ae.tar.gz
nextcloud-server-4a90d5328cae20e913612eec447346b55c2c12ae.zip
test: Add end-to-end tests for new public share Vue UI
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'vitest.config.ts')
-rw-r--r--vitest.config.ts5
1 files changed, 5 insertions, 0 deletions
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/**'],