Chore: Restore shouldFailOnLog being enabled only during CI (#66498)

This commit is contained in:
Josh Hunt 2023-04-13 17:33:05 +01:00 committed by GitHub
parent afd52d0866
commit cef9f64f13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);