From d107c66358592336d9f6ba8d263b645c242b4c1e Mon Sep 17 00:00:00 2001 From: xnacly Date: Mon, 30 Aug 2021 16:21:54 +0200 Subject: added setup for jest tests --- api/jest/setup.js | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 api/jest/setup.js (limited to 'api/jest/setup.js') 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()); -- cgit 1.5.1