[jest-reporters] Add summaryThreshold option to summary reporter to allow overriding the internal threshold that is used to print the summary of all failed tests when the number of test suites surpasses it (#13895)
[jest-runtime, @jest/transform] Allow V8 coverage provider to collect coverage from files which were not loaded explicitly (#13974)
[jest-snapshot] Add support to cts and mts TypeScript files to inline snapshots (#13975)
[jest-worker] Add start method to worker farms (#13937)
[jest-worker] Support passing a URL as path to worker (#13982)
Fixes
[babel-plugin-jest-hoist] Fix unwanted hoisting of nested jest usages (#13952)
[jest-circus] Send test case results for todo tests (#13915)
[jest-circus] Update message printed on test timeout (#13830)
[jest-circus] Avoid creating the word "testfalse" when takesDoneCallback is false in the message printed on test timeout AND updated timeouts test (#13954)
[jest-environment-jsdom] Stop setting document to null on teardown (#13972)
[@jest/expect-utils] Update toStrictEqual() to be able to check jest.fn().mock.calls (#13960)
[@jest/test-result] Allow TestResultsProcessor type to return a Promise (#13950)
Chore & Maintenance
[jest-snapshot] Remove dependency on jest-haste-map (#13977)
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.
All Depfu comment commands
@depfu rebase
Rebases against your default branch and redoes this update
@depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@depfu close
Closes this PR and deletes the branch
@depfu reopen
Restores the branch and reopens this PR (if it's closed)
@depfu pause
Ignores all future updates for this dependency and closes this PR
@depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ jest (29.4.3 → 29.5.0) · Repo · Changelog
Release Notes
29.5.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 36 commits:
v29.5.0
chore: update changelog for release
chore: roll new version of the documentation
feat(jest-runtime): expose `@sinonjs/fake-timers` async APIs (#13981)
Update toStrictEqual() to be able to check jest.fn().mock.calls etc. (#13960)
docs: add missing admonitions in Global API page (#13953)
feat(jest-worker): support passing a URL as path to worker (#13982)
fix(jest-runtime, @jest/transform): allow V8 coverage provider to collect coverage from files which were not loaded explicitly (#13974)
chore: tweak wording when using conflicting CLI arguments (#13901)
feat(jest-snapshot): add support to cts and mts typescript files to inline snapshots (#13975)
feat(jest-cli): Export yargsOptions (#13970)
chore(jest-snapshot): Remove hard dependency on `jest-haste-map` (#13977)
jest-environment-jsdom: stop setting document to null on teardown (#13972)
feat: add summaryThreshold option to summary reporter (#13895)
feat(jest-inline-message): Support Error.cause with jasmine too (#13966)
fix: correct overeager hoisting in `babel-plugin-jest-hoist` (#13952)
fix: Avoid creating the word testfalse in the message on test timeout (#13954)
fix(@jest/test-result): allow `TestResultsProcessor` type to return a Promise (#13950)
feat(jest-message-util): Add support for Error cause in `test` and `it` (#13935)
fix: make timeouts on a test refer to timeout parameter, rather than jest.setTimeout() (#13830)
refactor(jest-message-util): delete needless 'if' in AggregateError test (#13947)
jest-circus runs children in shuffled order (#12922)
feat(jest-config): `openHandlesTimeout` config option (#13875)
refactor(jest-runtime): do not call `resetAllMock()` during `teardown` (#13924)
docs: add missing admonitions in configuration page v25 (#13923)
docs: add missing admonitions in configuration page v26 (#13922)
docs: add missing admonitions in configuration page v27 (#13921)
fix: lower length of key to improve usage in win32 (#13827)
fix(jest-circus): Send test case results for todo type of tests (#13915)
docs: clarify how to disable watch mode through CLI (#13931)
feat(jest-message-util): add support for AggregateError (#13946)
feat(vcs): Support Sapling in jest-changed-files (#13941)
feat(jest-cli, jest-config, @jest/core, jest-haste-map, @jest/reporters, jest-runner, jest-runtime, @jest/types): add `workerThreads` configuration option (#13939)
feat(worker): add `start` method to worker farms (#13937)
Add missing --coverageDirectory documentation (#13932)
docs: add missing admonitions in configuration page v28 (#13920)
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands