Packages

@jest/environment

30.5.2 · 18 Sep 2026MIT80.2M / weekRepositoryHomepagenpmAtom feed

Your version

26.6.0

19 Oct 2020Where it was published

26.6.2 is the newest release of 26.x.

In short

2 new3 fixed3 internal

Release note

Features

  • jest-cli, jest-config: Add support for the jest.config.ts configuration file

Fixes

  • jest-config: Simplify transform RegExp

  • jest-fake-timers: Lazily instantiate mock timers

  • jest-runtime: require.main is no longer undefined when using jest.resetModules

  • @jest/types: Add missing values for timers

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.