JavaScript Unit Tests: Enable shouldFailOnLog only for CI environments (#59901)

Tests: enable shouldFailOnLog only for CI environments
pull/59894/head
Matias Chomicki 3 years ago committed by GitHub
parent abb49d96b5
commit 7e339decfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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);

Loading…
Cancel
Save