Packages

babel-jest

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

Your version

23.6.0

10 Sep 2018Where it was published

In short

3 new8 fixed6 internal

Release note

Features

  • jest-cli: Add changedSince to allowed watch mode configs

  • babel-jest: Add support for babel.config.js added in Babel 7.0.0

  • jest-resolve: Add support for an experimental mapper option (Watchman crawler only) that adds virtual files to the Haste map

Fixes

  • jest-resolve: Only resolve realpath once in try-catch

  • expect: Fix TypeError in toBeInstanceOf on null or undefined

  • jest-jasmine2: Throw a descriptive error if the first argument supplied to a hook was not a function (#6917) and

  • jest-circus: Throw a descriptive error if the first argument supplied to a hook was not a function (#6917) and

  • expect: Fix variadic custom asymmetric matchers

  • jest-cli: Fix incorrect testEnvironmentOptions warning

  • jest-each: Prevent done callback being supplied to describe

  • jest-config: Better error message for a case when a preset module was found, but no jest-preset.js or jest-preset.json at the root

  • jest-haste-map: Catch crawler error when unsuccessfully reading directories