aboutsummaryrefslogtreecommitdiffstats
path: root/tests/karma.config.js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-02-02 15:13:45 +0100
committerVincent Petry <pvince81@owncloud.com>2016-02-02 18:01:15 +0100
commit03f4b49eccc381deda4ad17fe7d74817b14b165a (patch)
treef597d45bbc26fc4eb98269f72762c80e01dbc463 /tests/karma.config.js
parent9028457ea2a150a586e63421382379f14cebd648 (diff)
downloadnextcloud-server-03f4b49eccc381deda4ad17fe7d74817b14b165a.tar.gz
nextcloud-server-03f4b49eccc381deda4ad17fe7d74817b14b165a.zip
Added JS unit tests for comments
Diffstat (limited to 'tests/karma.config.js')
-rw-r--r--tests/karma.config.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/karma.config.js b/tests/karma.config.js
index 467b270b350..4a7a9ad236e 100644
--- a/tests/karma.config.js
+++ b/tests/karma.config.js
@@ -83,6 +83,18 @@ module.exports = function(config) {
testFiles: ['apps/files_versions/tests/js/**/*.js']
},
{
+ name: 'comments',
+ srcFiles: [
+ // need to enforce loading order...
+ 'apps/comments/js/app.js',
+ 'apps/comments/js/commentmodel.js',
+ 'apps/comments/js/commentcollection.js',
+ 'apps/comments/js/commentstabview.js',
+ 'apps/comments/js/filesplugin'
+ ],
+ testFiles: ['apps/comments/tests/js/**/*.js']
+ },
+ {
name: 'systemtags',
srcFiles: [
// need to enforce loading order...