diff --git a/public/test/setupTests.ts b/public/test/setupTests.ts index 20052ded8bc..31f322f1d4a 100644 --- a/public/test/setupTests.ts +++ b/public/test/setupTests.ts @@ -6,7 +6,7 @@ import { initReactI18next } from 'react-i18next'; import { matchers } from './matchers'; failOnConsole({ - //shouldFailOnLog: true, + shouldFailOnLog: process.env.CI ? true : false, }); expect.extend(matchers);