summaryrefslogtreecommitdiff
path: root/www/wiki/tests/qunit/suites/resources/test.sinonjs/index.js
diff options
context:
space:
mode:
authorYaco <franco@reevo.org>2020-06-04 11:01:00 -0300
committerYaco <franco@reevo.org>2020-06-04 11:01:00 -0300
commitfc7369835258467bf97eb64f184b93691f9a9fd5 (patch)
treedaabd60089d2dd76d9f5fb416b005fbe159c799d /www/wiki/tests/qunit/suites/resources/test.sinonjs/index.js
first commit
Diffstat (limited to 'www/wiki/tests/qunit/suites/resources/test.sinonjs/index.js')
-rw-r--r--www/wiki/tests/qunit/suites/resources/test.sinonjs/index.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/wiki/tests/qunit/suites/resources/test.sinonjs/index.js b/www/wiki/tests/qunit/suites/resources/test.sinonjs/index.js
new file mode 100644
index 00000000..b1be9d18
--- /dev/null
+++ b/www/wiki/tests/qunit/suites/resources/test.sinonjs/index.js
@@ -0,0 +1,3 @@
+// Hack: Disable 'module.exports' from ResourceLoader
+// (Otherwise Sinon assumes context as Node.js instead of a browser)
+module.exports = null;