From f3d696599a0733b1e621af504ed0249d01873fd3 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Wed, 21 Jan 2015 11:26:54 +0100 Subject: Add unit test for external share JS dialog Moved external share JS code into a small plugin to make it testable. Added unit test for the external share dialog logic + ajax calls. --- tests/karma.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/karma.config.js b/tests/karma.config.js index 414f1552584..e4f8b3ea68f 100644 --- a/tests/karma.config.js +++ b/tests/karma.config.js @@ -53,7 +53,8 @@ module.exports = function(config) { // up with the global namespace/classes/state 'apps/files_sharing/js/app.js', 'apps/files_sharing/js/sharedfilelist.js', - 'apps/files_sharing/js/share.js' + 'apps/files_sharing/js/share.js', + 'apps/files_sharing/js/external.js' ], testFiles: ['apps/files_sharing/tests/js/*.js'] }, -- cgit v1.2.3