From 9e4c7d119b3feb7a9d63a31c162b88b6839d75f9 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