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
commitcebc19bee289470ca8d3d68387c648bf48a3b055 (patch)
tree60c9f7b6d8400366accc3cadc0ce2d736874caae /cdn/jest
parent:bug: fix #267 (diff)
downloadserver-cebc19bee289470ca8d3d68387c648bf48a3b055.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());