aboutsummaryrefslogtreecommitdiffstats
path: root/__tests__/mock-window.js
diff options
context:
space:
mode:
Diffstat (limited to '__tests__/mock-window.js')
-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 = ''