Skip to main content

Variable: jestUnitConfig

const jestUnitConfig: typeof unitConfigCreator

Defined in: jest.ts:101

JEST_COVERAGE=false turns coverage off without a --coverage=false CLI argument. A task runner such as Turborepo hashes pass-through arguments into every task of the run, dependencies included, so the flag would invalidate their cache; an environment variable can be scoped to the test task alone. A package config that sets collectCoverage still wins.