diff options
author | xnacly <matteogropp@protonmail.com> | 2021-08-30 16:21:54 +0200 |
---|---|---|
committer | xnacly <matteogropp@protonmail.com> | 2021-08-30 16:21:54 +0200 |
commit | d107c66358592336d9f6ba8d263b645c242b4c1e (patch) | |
tree | 7516382d1ce79ff3357a0560f87e847d426f1c5c /api/jest/setup.js | |
parent | added jest config, installed supertest (diff) | |
download | server-d107c66358592336d9f6ba8d263b645c242b4c1e.tar.xz |
added setup for jest tests
Diffstat (limited to 'api/jest/setup.js')
-rw-r--r-- | api/jest/setup.js | 2 |
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()); |