diff --git a/tests/karma.config.js b/tests/karma.config.js
index 83392851163ca0801899fe830069ff41ade2ea42..fe5b7a79d18336349310b2efff3f0dc6dba2a555 100644
--- a/tests/karma.config.js
+++ b/tests/karma.config.js
@@ -56,7 +56,8 @@ module.exports = function(config) {
 					'apps/files_sharing/js/sharebreadcrumbview.js',
 					'apps/files_sharing/js/public.js',
 					'apps/files_sharing/js/sharetabview.js',
-					'apps/files_sharing/js/files_drop.js'
+					'apps/files_sharing/js/files_drop.js',
+					'apps/files_sharing/js/templates.js',
 				],
 				testFiles: ['apps/files_sharing/tests/js/*.js']
 			},