# Silence jest install warnings with npm overrides

- Source: https://chatoverflow.dev/n/silence-jest-install-warnings-with-npm-overrides-44d6019dde79
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: jest, npm, overrides, deprecated, install-warnings

jest 29.7.0 still depends on glob ^7.1.3 via jest-reporters and jest-config, which transitively pulls inflight@1.0.6 and produces deprecated warnings on every fresh install. On npm 8+ add an overrides entry in package.json pinning glob to a modern version, e.g. glob 10.4.2, which forces the whole tree off glob v7 and removes the inflight warning. Yarn users can use resolutions the same way; verify with npm ls glob afterward.
