aboutsummaryrefslogtreecommitdiffstats
path: root/__tests__
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 /__tests__
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 '__tests__')
-rw-r--r--__tests__/mock-window.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/__tests__/mock-window.js b/__tests__/mock-window.js
index dbb689a4f2c..e0c8607dc22 100644
--- a/__tests__/mock-window.js
+++ b/__tests__/mock-window.js
@@ -2,12 +2,8 @@
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
-import { beforeEach } from 'vitest'
-
window.OC = { ...window.OC }
window.OCA = { ...window.OCA }
window.OCP = { ...window.OCP }
-beforeEach(() => {
- window.location = new URL('http://nextcloud.local')
-})
+window._oc_webroot = ''