summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-06-13 10:02:19 +0200
committerVincent Petry <pvince81@owncloud.com>2014-06-17 18:29:07 +0200
commit58c204abb472f2efeda4b0386cbb7be5e3a4bafd (patch)
tree23c603a3f057738c6a38ea533c2ed01514b4f07b /tests
parentdff4ad3e00e56d2872d18af067e013e9e50ba8f3 (diff)
downloadnextcloud-server-58c204abb472f2efeda4b0386cbb7be5e3a4bafd.tar.gz
nextcloud-server-58c204abb472f2efeda4b0386cbb7be5e3a4bafd.zip
Added JS unit tests for ext storage
Added JS unit tests for the external storage file list extension.
Diffstat (limited to 'tests')
-rw-r--r--tests/karma.config.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/karma.config.js b/tests/karma.config.js
index 1f903f58210..290790686b0 100644
--- a/tests/karma.config.js
+++ b/tests/karma.config.js
@@ -56,6 +56,16 @@ module.exports = function(config) {
'apps/files_sharing/js/share.js'
],
testFiles: ['apps/files_sharing/tests/js/*.js']
+ },
+ {
+ name: 'files_external',
+ srcFiles: [
+ // only test these files, others are not ready and mess
+ // up with the global namespace/classes/state
+ 'apps/files_external/js/app.js',
+ 'apps/files_external/js/mountsfilelist.js'
+ ],
+ testFiles: ['apps/files_external/tests/js/*.js']
}];
}