aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-12-29 08:32:26 +0100
committerJulius Härtl <jus@bitgrid.net>2020-12-29 08:42:34 +0100
commit1bb81f8f1100311ba9d88934d6d11427493910c1 (patch)
tree3e529e21168c494ef639ac1245b5b5fc8ee737ff
parent7f52754fe8a178a80f43682cf7dbd4abb631afcc (diff)
downloadnextcloud-server-1bb81f8f1100311ba9d88934d6d11427493910c1.tar.gz
nextcloud-server-1bb81f8f1100311ba9d88934d6d11427493910c1.zip
jsunit: Remove warnings during test runs
Signed-off-by: Julius Härtl <jus@bitgrid.net>
-rw-r--r--core/js/core.json9
-rw-r--r--tests/karma.config.js10
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