summary refs log tree commit diff
path: root/cdn/jest
diff options
context:
space:
mode:
authorxnacly <matteogropp@protonmail.com>2021-08-18 13:57:23 +0200
committerxnacly <matteogropp@protonmail.com>2021-08-18 13:57:23 +0200
commitd53271b68e3426d6a050e05a84276d6519b1f372 (patch)
tree7b5ae202c16a18fc967cd0fd3ee135bd6325c46c /cdn/jest
parent:bug: fix #267 (diff)
downloadserver-d53271b68e3426d6a050e05a84276d6519b1f372.tar.xz
added unittest setup + ping route test
Diffstat (limited to 'cdn/jest')
-rw-r--r--cdn/jest/setup.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/cdn/jest/setup.js b/cdn/jest/setup.js
new file mode 100644
index 00000000..32c60181
--- /dev/null
+++ b/cdn/jest/setup.js
@@ -0,0 +1 @@
+jest.spyOn(global.console, "log").mockImplementation(() => jest.fn());