Packages

babel-jest

30.5.2 · 18 Sep 2026MIT71.6M / weekRepositoryHomepagenpmAtom feed

Your version

26.1.0

23 Jun 2020Where it was published

26.6.3 is the newest release of 26.x.

In short

4 new1 faster4 fixed8 internal

Release note

Features

  • jest-mock: Export Mock, MockInstance, SpyInstance types

  • jest-config: Support config files exporting (async) functions

  • jest-cli, jest-core: Add --selectProjects CLI argument to filter test suites by project name

  • jest-cli, jest-init: Add coverageProvider to jest --init prompts

Fixes

  • jest-console: getConsoleOutput to receive global stack trace config and use it to format stack trace

  • jest-jasmine2: Stop adding : after an error that has no message

  • jest-diff: Control no diff message color with commonColor in diff options

  • jest-snapshot: Fix TypeScript compilation

Performance

  • jest-core, jest-transform, jest-haste-map: Improve Jest startup time and test runtime, particularly when running with coverage, by caching micromatch and avoiding recreating RegExp instances