From 03f4b49eccc381deda4ad17fe7d74817b14b165a Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Tue, 2 Feb 2016 15:13:45 +0100 Subject: Added JS unit tests for comments --- tests/karma.config.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'tests/karma.config.js') 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 @@ -82,6 +82,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: [ -- cgit v1.2.3