mirror of
https://github.com/portainer/portainer.git
synced 2026-08-07 11:24:48 +00:00
df4c700667
Co-authored-by: Claude <noreply@anthropic.com>
13 lines
300 B
TypeScript
13 lines
300 B
TypeScript
import failOnConsole from 'vitest-fail-on-console';
|
|
|
|
failOnConsole({
|
|
shouldFailOnWarn: true,
|
|
shouldFailOnError: true,
|
|
shouldFailOnLog: true,
|
|
shouldFailOnInfo: true,
|
|
allowMessage: (message) =>
|
|
/Can't perform a React state update on an unmounted component/.test(
|
|
message
|
|
),
|
|
});
|