summaryrefslogtreecommitdiffstats
path: root/core/js/tests/specHelper.js
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2014-06-05 17:06:21 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2014-06-05 17:06:21 +0200
commit96278e0201f947a8aba0897a97167b672c6ec6e0 (patch)
treeb1a7be54da307651f9d0e0959f543fa3c0bba498 /core/js/tests/specHelper.js
parent86a9cb2a6b167a216f5bd39350ea5cf4fd2305f6 (diff)
downloadnextcloud-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.js3
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,