Packages

babel-jest

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

Your version

26.6.2

2 Nov 2020Where it was published

26.6.3 is the newest release of 26.x.

In short

1 new11 fixed1 changed4 internal

Release note

Features

  • jest-core: Add findRelatedTests and nonFlagArgs in allowed config options for updateConfigAndRun in watch plugins

Fixes

  • babel-plugin-jest-hoist: Preserve order of hoisted mock nodes within containing block

  • babel-plugin-jest-hoist: Hoist pure constants to support experimental JSX transform in hoisted mocks

  • babel-preset-jest: Update babel-preset-current-node-syntax to support top level await

  • expect: Revert "Fix objectContaining to work recursively into sub-objects (#10508)"

  • jest-circus, jest-jasmine2: Don't assume stack is always a string

  • jest-config: Fix bug introduced in watch mode by PR #10678

  • jest-config: Throw correct error for missing preset modules

  • jest-resolve-dependencies: Resolve mocks as dependencies

  • jest-runtime: Handle file URLs in dynamic imports

  • jest-runtime, babel-jest: Pass more ESM options to @jest/transform

  • jest-runtime: Properly inject extraGlobals into the runtime

  • jest-transform: Link to ESM docs on syntax errors