[jest-circus] Fix snapshot matchers in concurrent tests when nr of tests exceeds maxConcurrency (#14335)
[@jest/core] When running global setup and teardown, do not try to change the message property of the thrown error object when the message property is unwritable (#14113)
[jest-snapshot] Move @types/prettier from dependencies to devDependencies (#14328)
[jest-snapshot] Throw an explicit error if Prettier v3 is used (#14367)
[jest-reporters] Add "skipped" and "todo" symbols to Github Actions Reporter (#14309)
Chore & Maintenance
[@jest/core] Use pluralize from jest-util rather than own internal (#14322)
[jest-config] Allow coverageDirectory and collectCoverageFrom in project config (#14180)
[jest-core] Always use workers in watch mode to avoid crashes (#14059).
[jest-environment-jsdom, jest-environment-node] Fix assignment of customExportConditions via testEnvironmentOptions when custom env subclass defines a default value (#13989)
[jest-matcher-utils] Fix copying value of inherited getters (#14007)
[jest-mock] Tweak typings to allow jest.replaceProperty() replace methods (#14008)
[jest-mock] Improve user input validation and error messages of spyOn and replaceProperty methods (#14087)
[jest-runtime] Bind jest.isolateModulesAsync to this (#14083)
[jest-runtime] Forward wrapperLength to the Script constructor as columnOffset for accurate debugging (#14148)
[jest-runtime] Guard _isMockFunction access with in (#14188)
[jest-snapshot] Fix a potential bug when not using prettier and improve performance (#14036)
[jest-circus] Fix snapshot matchers in concurrent tests when nr of tests exceeds maxConcurrency (#14335)
[@jest/core] When running global setup and teardown, do not try to change the message property of the thrown error object when the message property is unwritable (#14113)
[jest-snapshot] Move @types/prettier from dependencies to devDependencies (#14328)
[jest-snapshot] Throw an explicit error if Prettier v3 is used (#14367)
[jest-reporters] Add "skipped" and "todo" symbols to Github Actions Reporter (#14309)
Chore & Maintenance
[@jest/core] Use pluralize from jest-util rather than own internal (#14322)
29.6.1
Fixes
[jest-circus] Revert #14110 as it was a breaking change (#14304)
29.6.0
Features
[jest-circus, jest-snapshot] Add support for snapshot matchers in concurrent tests (#14139)
[jest-cli] Include type definitions to generated config files (#14078)
[jest-snapshot] Support arrays as property matchers (#14025)
[jest-core, jest-circus, jest-reporter, jest-runner] Added support for reporting about start individual test cases using jest-circus (#14174)
Fixes
[jest-circus] Prevent false test failures caused by promise rejections handled asynchronously (#14110)
[jest-config] Allow coverageDirectory and collectCoverageFrom in project config (#14180)
[jest-core] Always use workers in watch mode to avoid crashes (#14059).
[jest-environment-jsdom, jest-environment-node] Fix assignment of customExportConditions via testEnvironmentOptions when custom env subclass defines a default value (#13989)
[jest-matcher-utils] Fix copying value of inherited getters (#14007)
[jest-mock] Tweak typings to allow jest.replaceProperty() replace methods (#14008)
[jest-mock] Improve user input validation and error messages of spyOn and replaceProperty methods (#14087)
[jest-runtime] Bind jest.isolateModulesAsync to this (#14083)
[jest-runtime] Forward wrapperLength to the Script constructor as columnOffset for accurate debugging (#14148)
[jest-runtime] Guard _isMockFunction access with in (#14188)
[jest-snapshot] Fix a potential bug when not using prettier and improve performance (#14036)
[@jest/transform] Do not instrument .json modules (#14048)
[jest-worker] Restart a shut down worker before sending it a task (#14015)
Chore & Maintenance
[*] Update semver dependency to get vulnerability fix (#14262)
[docs] Updated documentation for the --runTestsByPath CLI command (#14004)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps jest and @types/jest. These dependencies needed to be updated together. Updates
jest
from 29.3.1 to 29.6.2Release notes
Sourced from jest's releases.
... (truncated)
Changelog
Sourced from jest's changelog.
... (truncated)
Commits
0fd5b1c
v29.6.21f019af
v29.6.1c1e5b8a
v29.6.06ffa48d
chore: upgrade TypeScript to v5 (#14155)a95eeb6
chore: update tsd runner (#14020)39f3bed
v29.5.0a49c886
v29.4.36d2632a
Update copyrights with Meta Platforms, restore original license in Jasmine fo...f0fc92e
v29.4.2bc7b20c
chore: make sure to exclude .eslintcache from published module (#13832)Updates
@types/jest
from 29.5.0 to 29.5.3Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)