From 1bb81f8f1100311ba9d88934d6d11427493910c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Julius=20H=C3=A4rtl?= <jus@bitgrid.net>
Date: Tue, 29 Dec 2020 08:32:26 +0100
Subject: [PATCH] jsunit: Remove warnings during test runs
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Julius Härtl <jus@bitgrid.net>
---
 core/js/core.json     |  9 ---------
 tests/karma.config.js | 10 ++--------
 2 files changed, 2 insertions(+), 17 deletions(-)

diff --git a/core/js/core.json b/core/js/core.json
index b25c260ab9f..9ea17f2ac5e 100644
--- a/core/js/core.json
+++ b/core/js/core.json
@@ -2,15 +2,6 @@
 	"libraries": [
 	],
 	"modules": [
-		"share.js",
-		"sharetemplates.js",
-		"sharesocialmanager.js",
-		"shareconfigmodel.js",
-		"shareitemmodel.js",
-		"sharedialogview.js",
-		"sharedialoglinkshareview.js",
-		"sharedialogresharerinfoview.js",
-		"sharedialogshareelistview.js",
 		"public/publicpage.js",
 		"setupchecks.js",
 		"mimetype.js",
diff --git a/tests/karma.config.js b/tests/karma.config.js
index c090148b283..f64368daf95 100644
--- a/tests/karma.config.js
+++ b/tests/karma.config.js
@@ -60,7 +60,6 @@ module.exports = function(config) {
 					'apps/files_sharing/js/dist/files_sharing_tab.js',
 					'apps/files_sharing/js/dist/files_sharing.js',
 					'apps/files_sharing/js/dist/main.js',
-					'apps/files_sharing/js/dist/sidebar.js',
 					'apps/files_sharing/js/files_drop.js',
 					'apps/files_sharing/js/public.js',
 					'apps/files_sharing/js/sharedfilelist.js',
@@ -193,12 +192,6 @@ module.exports = function(config) {
 		included: false,
 		served: true
 	});
-	files.push({
-		pattern: 'core/css/images/*',
-		watched: false,
-		included: false,
-		served: true
-	});
 
 	// include core CSS
 	files.push({
@@ -241,7 +234,8 @@ module.exports = function(config) {
 			'/base/tests/css/': 'http://localhost:9876/base/core/css/',
 			'/base/core/css/images/': 'http://localhost:9876/base/core/css/images/',
 			'/actions/': 'http://localhost:9876/base/core/img/actions/',
-			'/base/core/fonts/': 'http://localhost:9876/base/core/fonts/'
+			'/base/core/fonts/': 'http://localhost:9876/base/core/fonts/',
+			'/svg/': '../core/img/'
 		},
 
 		// test results reporter to use
-- 
GitLab