Summary: It's a bit hacky but apparently the recommended solution: https://stackoverflow.com/questions/28615293/is-there-a-jest-config-that-will-fail-tests-on-console-warn This will bail when a call to `console.error` is used in a test. If you *need to* use console.error in a test, then mock it. This will likely not pass yet, but let's fix all failures and then land it. Reviewed By: danielbuechele Differential Revision: D13898383 fbshipit-source-id: 0ca222a07433a9a311dc6bdf0d264342a59208be
420 B
420 B