mirror of
https://github.com/grafana/grafana.git
synced 2026-08-04 10:33:21 -05:00
JavaScript Unit Tests: Enable shouldFailOnLog only for CI environments (#59901)
Tests: enable shouldFailOnLog only for CI environments
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user