summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests/js/sharedfilelistSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/tests/js/sharedfilelistSpec.js')
-rw-r--r--apps/files_sharing/tests/js/sharedfilelistSpec.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/tests/js/sharedfilelistSpec.js b/apps/files_sharing/tests/js/sharedfilelistSpec.js
index 0f6d0a0ba49..4e130885500 100644
--- a/apps/files_sharing/tests/js/sharedfilelistSpec.js
+++ b/apps/files_sharing/tests/js/sharedfilelistSpec.js
@@ -55,6 +55,7 @@ describe('OCA.Sharing.FileList tests', function() {
afterEach(function() {
OCA.Files.FileList.prototype = oldFileListPrototype;
testFiles = undefined;
+ fileList.destroy();
fileList = undefined;
fileActions = undefined;