aboutsummaryrefslogtreecommitdiffstats
path: root/core/js/tests
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/tests')
-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,