diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-06-05 17:06:21 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-06-05 17:06:21 +0200 |
commit | 96278e0201f947a8aba0897a97167b672c6ec6e0 (patch) | |
tree | b1a7be54da307651f9d0e0959f543fa3c0bba498 /core/js/tests/specHelper.js | |
parent | 86a9cb2a6b167a216f5bd39350ea5cf4fd2305f6 (diff) | |
download | nextcloud-server-96278e0201f947a8aba0897a97167b672c6ec6e0.tar.gz nextcloud-server-96278e0201f947a8aba0897a97167b672c6ec6e0.zip |
close sidebar when switching navigation entry, except on add or change settings
Diffstat (limited to 'core/js/tests/specHelper.js')
-rw-r--r-- | core/js/tests/specHelper.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/js/tests/specHelper.js b/core/js/tests/specHelper.js index fc5043c2f49..f7ec7856ba7 100644 --- a/core/js/tests/specHelper.js +++ b/core/js/tests/specHelper.js @@ -68,6 +68,9 @@ window.oc_appconfig = { }; window.oc_defaults = {}; +// mock for Snap.js plugin +window.Snap = function() {}; + // global setup for all tests (function setupTests() { var fakeServer = null, |