mirror of
https://github.com/game-ci/unity-test-runner.git
synced 2026-01-29 14:39:33 +08:00
10 lines
247 B
TypeScript
10 lines
247 B
TypeScript
import failOnConsole from 'jest-fail-on-console';
|
|
|
|
// Fail when console logs something inside a test - use spyOn instead
|
|
failOnConsole({
|
|
shouldFailOnWarn: true,
|
|
shouldFailOnError: true,
|
|
shouldFailOnLog: true,
|
|
shouldFailOnAssert: true,
|
|
});
|