Update jest: 27.4.7 → 27.5.1 (minor)
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 (27.4.7 → 27.5.1) · Repo · Changelog
Release Notes
27.5.1
Features
[jest-config]
Support comments in JSON config file (#12316)[pretty-format]
ExposeConvertAnsi
plugin (#12308)Fixes
[expect]
Add type definitions for asymmetriccloseTo
matcher (#12304)[jest-cli]
Load binary via exported API (#12315)[jest-config]
Replacejsonlint
withparse-json
(#12316)[jest-repl]
Make module importable (#12311 & #12315)Chore & Maintenance
[*]
Avoid anonymous default exports (#12313)New Contributors
- @zoltan-boros made their first contribution in #12206
Full Changelog: v27.5.0...v27.5.1
27.5.0
Features
[expect]
Add asymmetric matcherexpect.closeTo
(#12243)[jest-mock]
AddedmockFn.mock.lastCall
to retrieve last argument (#12285)Fixes
[expect]
Add a fix for.toHaveProperty('')
(#12251)[jest-each, @jest/globals]
Allow passingReadonlyArray
type of a table todescribe.each
andtest.each
(#12297)[@jest/globals]
Add missingoptions
argument tojest.doMock
typing (#12292)[jest-environment-node]
Addatob
andbtoa
(#12269)[jest-matcher-utils]
Correct diff for expected asymmetric matchers (#12264)[jest-message-util]
Fix.getTopFrame()
(andtoMatchInlineSnapshot()
) withmjs
files (#12277)Chore & Maintenance
[*]
Updategraceful-fs
to^4.2.9
(#11749)Performance
[jest-resolve]
perf: skip error creation on not foundstat
calls (#11749)New Contributors
- @markjm made their first contribution in #11749
- @benjamingr made their first contribution in #12266
- @aduh95 made their first contribution in #12269
- @piranna made their first contribution in #12272
- @od-c0d3r made their first contribution in #12234
- @davidnormo made their first contribution in #12264
- @mshima made their first contribution in #12277
- @Cambuchi made their first contribution in #12246
- @vladsholokhov made their first contribution in #12185
- @robdy made their first contribution in #12254
- @Michael-M-Judd made their first contribution in #12212
Full Changelog: v27.4.7...v27.5.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 62 commits:
v27.5.1
chore: update changelog for release
ci(jest-changed-files): enable `mercurial` related test on CI (#12327)
chore: remove unnecessary checks
chore: avoid backticks without template in strings (#12328)
chore: remove `@babel/plugin-proposal-class-properties`
chore(jest-config): remove unused dev dep (#12319)
Revert "chore: remove unused import from test" (#12321)
chore: run prettier
docs: added info about modern and legacy timers (#12317)
docs: update `toHaveBeenCalledWith` to include type of equality check (#12222)
docs(GettingStarted): separate TypeScript sections (#12306)
docs: adds details to test results processor config option (#12206)
fix(jest-config): replace `jsonlint` with `parse-json` (#12316)
fix: binary scripts should use package exports (#12315)
chore: also clean out dist/ directory
chore: prepare ignorefiles for dist/ directory (#12314)
fix: point to correctly exported files in `jest-repl` (#12311)
chore: avoid using anonymous default exports (#12313)
chore: read package.json less during build (#12310)
feat(pretty-format): expose `ConvertAnsi` plugin (#12308)
fix(expect): add type definitions for asymmetric `closeTo` matcher (#12304)
chore: do not escape strings in snapshots (#12303)
chore: use Node 16 more on CI (#12007)
chore: update snapshot
chore: roll new version of docs
chore: update lockfile after release
v27.5.0
chore: update changelog for release
chore(lint): disable @typescript-eslint/no-unused-vars rule for tests and mocks (#12301)
feat(expect): add asymmetric matcher `expect.closeTo` (#12243)
chore: get rid of peer dependency warning from `react-native-codegen`
chore: add missing peer dep
chore: use `u` flag for regexes (#12249)
chore(docs): add note about `retryTimes` placement (#12212)
chore(docs): specify an error message in Timermocks (#12248)
chore(docs): fix broken link in Snapshot Testing docs (#12254)
[docs] Update Troubleshooting.md (#12185)
chore(docs): add needed capitalization (#12246)
chore(docs): clarify timer-mocks page (#12241)
feat(jest-mock): add `mockFn.mock.lastCall` to retrieve last argument (#12285)
chore(type tests): bump `jest-runner-tsd` (#12299)
fix(jest-each, @jest/globals): allow passing `ReadonlyArray` type of a table to `describe.each` and `test.each` (#12297)
fix(@jest/globals): add missing `options` argument to `jest.doMock` typing (#12292)
fix(message-utils): convert URLs to paths (#12277)
fix(changelog): fix link format of #12264 (#12293)
Update CHANGELOG.md (#12283)
refactor(jest-runner): remove unnecessary ProcessTerminatedError logic (#12287)
fix(matcher-utils): correct diff for expect asymmetric matchers (#12264)
fix: support `.toHaveProperty('')` (#12251)
chore: correct example test link (#12234)
chore: Fix typo in tests (#12255)
chore: clean up links in changelog (#12272)
jest-environment-node: add `atob` and `btoa` (#12269)
fix(docs) clarify expect.any (#12266)
chore: remove .react from React files (#12223)
perf(jest-resolve): skip error creation on not found stat calls (#11749)
chore: remove unused script
chore: better alignment for homepage logos (#12218)
chore: correct file path in comment (#12180)
chore: remove unused import from test (#12181)
chore: update lockfile after release
✳ ️ @jest/globals (27.4.6 → 27.5.1) · Repo · Changelog
Release Notes
27.5.1
Features
[jest-config]
Support comments in JSON config file (#12316)[pretty-format]
ExposeConvertAnsi
plugin (#12308)Fixes
[expect]
Add type definitions for asymmetriccloseTo
matcher (#12304)[jest-cli]
Load binary via exported API (#12315)[jest-config]
Replacejsonlint
withparse-json
(#12316)[jest-repl]
Make module importable (#12311 & #12315)Chore & Maintenance
[*]
Avoid anonymous default exports (#12313)New Contributors
- @zoltan-boros made their first contribution in #12206
Full Changelog: v27.5.0...v27.5.1
27.5.0
Features
[expect]
Add asymmetric matcherexpect.closeTo
(#12243)[jest-mock]
AddedmockFn.mock.lastCall
to retrieve last argument (#12285)Fixes
[expect]
Add a fix for.toHaveProperty('')
(#12251)[jest-each, @jest/globals]
Allow passingReadonlyArray
type of a table todescribe.each
andtest.each
(#12297)[@jest/globals]
Add missingoptions
argument tojest.doMock
typing (#12292)[jest-environment-node]
Addatob
andbtoa
(#12269)[jest-matcher-utils]
Correct diff for expected asymmetric matchers (#12264)[jest-message-util]
Fix.getTopFrame()
(andtoMatchInlineSnapshot()
) withmjs
files (#12277)Chore & Maintenance
[*]
Updategraceful-fs
to^4.2.9
(#11749)Performance
[jest-resolve]
perf: skip error creation on not foundstat
calls (#11749)New Contributors
- @markjm made their first contribution in #11749
- @benjamingr made their first contribution in #12266
- @aduh95 made their first contribution in #12269
- @piranna made their first contribution in #12272
- @od-c0d3r made their first contribution in #12234
- @davidnormo made their first contribution in #12264
- @mshima made their first contribution in #12277
- @Cambuchi made their first contribution in #12246
- @vladsholokhov made their first contribution in #12185
- @robdy made their first contribution in #12254
- @Michael-M-Judd made their first contribution in #12212
Full Changelog: v27.4.7...v27.5.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 65 commits:
v27.5.1
chore: update changelog for release
ci(jest-changed-files): enable `mercurial` related test on CI (#12327)
chore: remove unnecessary checks
chore: avoid backticks without template in strings (#12328)
chore: remove `@babel/plugin-proposal-class-properties`
chore(jest-config): remove unused dev dep (#12319)
Revert "chore: remove unused import from test" (#12321)
chore: run prettier
docs: added info about modern and legacy timers (#12317)
docs: update `toHaveBeenCalledWith` to include type of equality check (#12222)
docs(GettingStarted): separate TypeScript sections (#12306)
docs: adds details to test results processor config option (#12206)
fix(jest-config): replace `jsonlint` with `parse-json` (#12316)
fix: binary scripts should use package exports (#12315)
chore: also clean out dist/ directory
chore: prepare ignorefiles for dist/ directory (#12314)
fix: point to correctly exported files in `jest-repl` (#12311)
chore: avoid using anonymous default exports (#12313)
chore: read package.json less during build (#12310)
feat(pretty-format): expose `ConvertAnsi` plugin (#12308)
fix(expect): add type definitions for asymmetric `closeTo` matcher (#12304)
chore: do not escape strings in snapshots (#12303)
chore: use Node 16 more on CI (#12007)
chore: update snapshot
chore: roll new version of docs
chore: update lockfile after release
v27.5.0
chore: update changelog for release
chore(lint): disable @typescript-eslint/no-unused-vars rule for tests and mocks (#12301)
feat(expect): add asymmetric matcher `expect.closeTo` (#12243)
chore: get rid of peer dependency warning from `react-native-codegen`
chore: add missing peer dep
chore: use `u` flag for regexes (#12249)
chore(docs): add note about `retryTimes` placement (#12212)
chore(docs): specify an error message in Timermocks (#12248)
chore(docs): fix broken link in Snapshot Testing docs (#12254)
[docs] Update Troubleshooting.md (#12185)
chore(docs): add needed capitalization (#12246)
chore(docs): clarify timer-mocks page (#12241)
feat(jest-mock): add `mockFn.mock.lastCall` to retrieve last argument (#12285)
chore(type tests): bump `jest-runner-tsd` (#12299)
fix(jest-each, @jest/globals): allow passing `ReadonlyArray` type of a table to `describe.each` and `test.each` (#12297)
fix(@jest/globals): add missing `options` argument to `jest.doMock` typing (#12292)
fix(message-utils): convert URLs to paths (#12277)
fix(changelog): fix link format of #12264 (#12293)
Update CHANGELOG.md (#12283)
refactor(jest-runner): remove unnecessary ProcessTerminatedError logic (#12287)
fix(matcher-utils): correct diff for expect asymmetric matchers (#12264)
fix: support `.toHaveProperty('')` (#12251)
chore: correct example test link (#12234)
chore: Fix typo in tests (#12255)
chore: clean up links in changelog (#12272)
jest-environment-node: add `atob` and `btoa` (#12269)
fix(docs) clarify expect.any (#12266)
chore: remove .react from React files (#12223)
perf(jest-resolve): skip error creation on not found stat calls (#11749)
chore: remove unused script
chore: better alignment for homepage logos (#12218)
chore: correct file path in comment (#12180)
chore: remove unused import from test (#12181)
chore: update lockfile after release
v27.4.7
fix(jest-config): add missing @babel/core dependency (#12216)
chore: update lockfile after release
✳ ️ jest-mock (27.4.6 → 27.5.1) · Repo · Changelog
Release Notes
27.5.1
Features
[jest-config]
Support comments in JSON config file (#12316)[pretty-format]
ExposeConvertAnsi
plugin (#12308)Fixes
[expect]
Add type definitions for asymmetriccloseTo
matcher (#12304)[jest-cli]
Load binary via exported API (#12315)[jest-config]
Replacejsonlint
withparse-json
(#12316)[jest-repl]
Make module importable (#12311 & #12315)Chore & Maintenance
[*]
Avoid anonymous default exports (#12313)New Contributors
- @zoltan-boros made their first contribution in #12206
Full Changelog: v27.5.0...v27.5.1
27.5.0
Features
[expect]
Add asymmetric matcherexpect.closeTo
(#12243)[jest-mock]
AddedmockFn.mock.lastCall
to retrieve last argument (#12285)Fixes
[expect]
Add a fix for.toHaveProperty('')
(#12251)[jest-each, @jest/globals]
Allow passingReadonlyArray
type of a table todescribe.each
andtest.each
(#12297)[@jest/globals]
Add missingoptions
argument tojest.doMock
typing (#12292)[jest-environment-node]
Addatob
andbtoa
(#12269)[jest-matcher-utils]
Correct diff for expected asymmetric matchers (#12264)[jest-message-util]
Fix.getTopFrame()
(andtoMatchInlineSnapshot()
) withmjs
files (#12277)Chore & Maintenance
[*]
Updategraceful-fs
to^4.2.9
(#11749)Performance
[jest-resolve]
perf: skip error creation on not foundstat
calls (#11749)New Contributors
- @markjm made their first contribution in #11749
- @benjamingr made their first contribution in #12266
- @aduh95 made their first contribution in #12269
- @piranna made their first contribution in #12272
- @od-c0d3r made their first contribution in #12234
- @davidnormo made their first contribution in #12264
- @mshima made their first contribution in #12277
- @Cambuchi made their first contribution in #12246
- @vladsholokhov made their first contribution in #12185
- @robdy made their first contribution in #12254
- @Michael-M-Judd made their first contribution in #12212
Full Changelog: v27.4.7...v27.5.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 65 commits:
v27.5.1
chore: update changelog for release
ci(jest-changed-files): enable `mercurial` related test on CI (#12327)
chore: remove unnecessary checks
chore: avoid backticks without template in strings (#12328)
chore: remove `@babel/plugin-proposal-class-properties`
chore(jest-config): remove unused dev dep (#12319)
Revert "chore: remove unused import from test" (#12321)
chore: run prettier
docs: added info about modern and legacy timers (#12317)
docs: update `toHaveBeenCalledWith` to include type of equality check (#12222)
docs(GettingStarted): separate TypeScript sections (#12306)
docs: adds details to test results processor config option (#12206)
fix(jest-config): replace `jsonlint` with `parse-json` (#12316)
fix: binary scripts should use package exports (#12315)
chore: also clean out dist/ directory
chore: prepare ignorefiles for dist/ directory (#12314)
fix: point to correctly exported files in `jest-repl` (#12311)
chore: avoid using anonymous default exports (#12313)
chore: read package.json less during build (#12310)
feat(pretty-format): expose `ConvertAnsi` plugin (#12308)
fix(expect): add type definitions for asymmetric `closeTo` matcher (#12304)
chore: do not escape strings in snapshots (#12303)
chore: use Node 16 more on CI (#12007)
chore: update snapshot
chore: roll new version of docs
chore: update lockfile after release
v27.5.0
chore: update changelog for release
chore(lint): disable @typescript-eslint/no-unused-vars rule for tests and mocks (#12301)
feat(expect): add asymmetric matcher `expect.closeTo` (#12243)
chore: get rid of peer dependency warning from `react-native-codegen`
chore: add missing peer dep
chore: use `u` flag for regexes (#12249)
chore(docs): add note about `retryTimes` placement (#12212)
chore(docs): specify an error message in Timermocks (#12248)
chore(docs): fix broken link in Snapshot Testing docs (#12254)
[docs] Update Troubleshooting.md (#12185)
chore(docs): add needed capitalization (#12246)
chore(docs): clarify timer-mocks page (#12241)
feat(jest-mock): add `mockFn.mock.lastCall` to retrieve last argument (#12285)
chore(type tests): bump `jest-runner-tsd` (#12299)
fix(jest-each, @jest/globals): allow passing `ReadonlyArray` type of a table to `describe.each` and `test.each` (#12297)
fix(@jest/globals): add missing `options` argument to `jest.doMock` typing (#12292)
fix(message-utils): convert URLs to paths (#12277)
fix(changelog): fix link format of #12264 (#12293)
Update CHANGELOG.md (#12283)
refactor(jest-runner): remove unnecessary ProcessTerminatedError logic (#12287)
fix(matcher-utils): correct diff for expect asymmetric matchers (#12264)
fix: support `.toHaveProperty('')` (#12251)
chore: correct example test link (#12234)
chore: Fix typo in tests (#12255)
chore: clean up links in changelog (#12272)
jest-environment-node: add `atob` and `btoa` (#12269)
fix(docs) clarify expect.any (#12266)
chore: remove .react from React files (#12223)
perf(jest-resolve): skip error creation on not found stat calls (#11749)
chore: remove unused script
chore: better alignment for homepage logos (#12218)
chore: correct file path in comment (#12180)
chore: remove unused import from test (#12181)
chore: update lockfile after release
v27.4.7
fix(jest-config): add missing @babel/core dependency (#12216)
chore: update lockfile after release
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)