summary refs log tree commit diff
path: root/api/jest/setup.js
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-01 10:47:00 +0200
committerGitHub <noreply@github.com>2021-09-01 10:47:00 +0200
commitdf1d633c4b56bea97e0b76da34171d80c0c6a3ff (patch)
tree7e57837ec000a641935a32649ac17b38ef2e29d8 /api/jest/setup.js
parentMerge pull request #287 from EMREOYUN/patch-1 (diff)
parentMerge pull request #299 from AlTech98/typeorm (diff)
downloadserver-df1d633c4b56bea97e0b76da34171d80c0c6a3ff.tar.xz
Merge pull request #300 from fosscord/typeorm
Diffstat (limited to 'api/jest/setup.js')
-rw-r--r--api/jest/setup.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/api/jest/setup.js b/api/jest/setup.js
new file mode 100644

index 00000000..abc485ae --- /dev/null +++ b/api/jest/setup.js
@@ -0,0 +1,2 @@ +jest.spyOn(global.console, "log").mockImplementation(() => jest.fn()); +jest.spyOn(global.console, "info").mockImplementation(() => jest.fn());