Don't print debug logs in jest

Summary:
Don't print console.debug logs during unit tests

These diffs together reduce the amounts of logs printed during unit tests from 6000 to 3000.

Reviewed By: passy

Differential Revision: D32557595

fbshipit-source-id: eef2b742157f16638d9ce270cf8b3d8d0f4e2952
This commit is contained in:
Michel Weststrate
2021-11-19 03:59:55 -08:00
committed by Facebook GitHub Bot
parent 52fca0859e
commit 14c0a7965e

View File

@@ -34,3 +34,7 @@ test.unix = function local() {
};
afterEach(cleanup);
console.debug = function () {
// Intentional noop, we don't want debug statements in Jest runs
};