aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/tests/js/appSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/tests/js/appSpec.js')
-rw-r--r--apps/files/tests/js/appSpec.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/files/tests/js/appSpec.js b/apps/files/tests/js/appSpec.js
index 99a73d0b01d..77d36d59fa9 100644
--- a/apps/files/tests/js/appSpec.js
+++ b/apps/files/tests/js/appSpec.js
@@ -52,9 +52,7 @@ describe('OCA.Files.App tests', function() {
App.initialize();
});
afterEach(function() {
- App.navigation = null;
- App.fileList = null;
- App.files = null;
+ App.destroy();
pushStateStub.restore();
parseUrlQueryStub.restore();