jest-fail-on-console
jest-fail-on-console copied to clipboard
Incompatible with Jest's injectGlobals: false
We use the injectGlobals: false in a TypeScript project to avoid having to depend on the @types/jest library. I want to use this library to prevent unexpected console logging, but it's incompatible as it relies on the injected globals (looks like afterEach, beforeEach, and expect).
I see, would you like to make a PR to use @jest/globals ?