jest v26.6.2 Release Notes
Release Date: 2020-11-02 // over 3 years ago-
🔋 Features
- ⚡️
[jest-core]
AddfindRelatedTests
andnonFlagArgs
in allowed config options forupdateConfigAndRun
in watch plugins (#10659)
🛠 Fixes
- 🤡
[babel-plugin-jest-hoist]
Preserve order of hoisted mock nodes within containing block (#10536) - 🤡
[babel-plugin-jest-hoist]
Hoist pure constants to support experimental JSX transform in hoisted mocks (#10723) - ⚡️
[babel-preset-jest]
Updatebabel-preset-current-node-syntax
to support top level await (#10747) - ⏪
[expect]
Revert "FixobjectContaining
to work recursively into sub-objects (#10508)" (#10766) [jest-circus, jest-jasmine2]
fix: don't assumestack
is always a string (#10697)[jest-config]
Fix bug introduced in watch mode by PR #10678 (#10692)[jest-config]
Throw correct error for missing preset modules (#10737)- 🤡
[jest-resolve-dependencies]
Resolve mocks as dependencies (#10713) [jest-runtime]
Handle file URLs in dynamic imports (#10744)[jest-runtime, babel-jest]
Pass more ESM options to@jest/transform
(#10752)[jest-runtime]
Properly injectextraGlobals
into the runtime (#10758)- 📄
[jest-transform]
Link to ESM docs on syntax errors (#10748)
🚧 Chore & Maintenance
- 🤡
[docs]
Add docs for using mocks in TypeScript (#10415) - 👕
[eslint-config-fb-strict]
Move package from this repo tofbjs
repo (#10739) - ⚡️
[examples]
Update TypeScript example to show use of newer Jest types (#10399) [jest-cli]
chore: standardize files and folder names (#10698)- 🗄
[jest-config]
Switch ts-nodeRegister
type toService
due to deprecation (#11210)
- ⚡️