mirror of
https://github.com/grafana/grafana.git
synced 2025-01-02 12:17:01 -06:00
Chore: Don't fail tests on console logs at all during local dev (#67313)
This commit is contained in:
parent
334ecd1be7
commit
7460a53ab9
@ -5,9 +5,13 @@ import { initReactI18next } from 'react-i18next';
|
||||
|
||||
import { matchers } from './matchers';
|
||||
|
||||
failOnConsole({
|
||||
shouldFailOnLog: process.env.CI ? true : false,
|
||||
});
|
||||
if (process.env.CI) {
|
||||
failOnConsole({
|
||||
shouldFailOnLog: true,
|
||||
shouldFailOnDebug: true,
|
||||
shouldFailOnInfo: true,
|
||||
});
|
||||
}
|
||||
|
||||
expect.extend(matchers);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user