summaryrefslogtreecommitdiffstats
path: root/js/tests/unit/stubs/OC.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/tests/unit/stubs/OC.js')
-rw-r--r--js/tests/unit/stubs/OC.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/js/tests/unit/stubs/OC.js b/js/tests/unit/stubs/OC.js
new file mode 100644
index 000000000..82622aab5
--- /dev/null
+++ b/js/tests/unit/stubs/OC.js
@@ -0,0 +1,16 @@
+/**
+ * ownCloud - News
+ *
+ * This file is licensed under the Affero General Public License version 3 or
+ * later. See the COPYING file.
+ *
+ * @author Bernhard Posselt <dev@bernhard-posselt.com>
+ * @copyright Bernhard Posselt 2012, 2014
+ */
+window.OC = {
+ generateUrl: () => {
+ 'use strict';
+
+ return '';
+ }
+}; \ No newline at end of file