diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-01-21 11:26:54 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-01-21 11:26:54 +0100 |
commit | f3d696599a0733b1e621af504ed0249d01873fd3 (patch) | |
tree | a813f5a6c2a0692523a1c40afff30e01300b0cb2 /tests/karma.config.js | |
parent | 23ea45760f536cb362f7019c4aeac8d51aea34ad (diff) | |
download | nextcloud-server-f3d696599a0733b1e621af504ed0249d01873fd3.tar.gz nextcloud-server-f3d696599a0733b1e621af504ed0249d01873fd3.zip |
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.
Diffstat (limited to 'tests/karma.config.js')
-rw-r--r-- | tests/karma.config.js | 3 |
1 files changed, 2 insertions, 1 deletions
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'] }, |