@jest/environment
30.5.2 · 18 Sep 2026MIT80.2M / weekRepositoryHomepagenpmAtom feed
Your version
27.5.1 is the newest release of 27.x.
In short
2 new3 fixed
Release note
Features
jest-config: Add
testEnvironmentOptions.htmlto apply to jsdom inputjest-resolver: Support default export (
.) inexportsfield ifmainis missing
Fixes
expect: Tweak and improve types
jest-runtime: Ensure absolute paths can be resolved within test modules
jest-runtime: Fix
instanceofforModernFakeTimersandLegacyFakeTimersmethods
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.