Update dependency jest-when to v4#8563
Conversation
0f6977f to
d5d6f02
Compare
Changed Packages
|
d5d6f02 to
71f8091
Compare
71f8091 to
bd32871
Compare
bd32871 to
583ed5c
Compare
583ed5c to
49feaea
Compare
49feaea to
8b72a0c
Compare
8b72a0c to
f0e670e
Compare
f0e670e to
d618999
Compare
d618999 to
35878c8
Compare
35878c8 to
4f5a086
Compare
4f5a086 to
d268618
Compare
d268618 to
421b155
Compare
421b155 to
9038914
Compare
9038914 to
d75f8ce
Compare
d75f8ce to
edf1a99
Compare
edf1a99 to
bc6b6c1
Compare
bc6b6c1 to
f2e3ff5
Compare
f2e3ff5 to
5f3e170
Compare
5f3e170 to
f654d56
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 4 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 4 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 4 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 4 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 4 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 4 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 4 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 4 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 4 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 4 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 4 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 4 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 4 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 4 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 4 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 4 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 4 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 4 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 4 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 4 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
👋 Reminder: This Renovate major PR has been open for 21 days. Please review and merge if the changes look good. If no action is taken, this PR will be labeled |
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
This PR contains the following updates:
^3.1.0→^4.0.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
timkindberg/jest-when (jest-when)
v4.0.3Compare Source
Fixes
.defaultImplementation()(and aliases.defaultReturnValue()/.defaultResolvedValue()/.defaultRejectedValue()) no longer silently drops prior bare.calledWith()/.calledWith(undefined, ...)registrations. Regression introduced in the v4 TypeScript port (#111) and fixed by restoring theNO_CALLED_WITH_YETsymbol sentinel. Thanks @rbnayax. (#115, #116)v4.0.2Compare Source
v4.0.1Compare Source
v4.0.0: 4.0.0Compare Source
Highlights
jest-whenis now authored in TypeScriptcalledWithinference, andvoid/Promise<void>casesWhat changed
Native TypeScript source
The library source has been migrated from JavaScript to TypeScript, with the public type contract now tested directly in the repo.
Stronger, more accurate typings
This release tightens a number of important typing behaviors:
calledWith/expectCalledWithpreserve argument tuple types againmockReturnValue/mockResolvedValue/ related methods track the mocked function's return type much more accuratelyvoid/Promise<void>cases allow omitted values correctlyjest-mock-extended-style mocked object methodsallArgs, and matcher cases are now covered by contract testsCompatibility guardrails
The repo now has:
compat/jest27workspaceThe full build, runtime tests, and type tests run in both environments. This was added specifically to avoid fixing newer Jest/mock ecosystems while regressing older supported ones.
Breaking changes
There are no intentional runtime API changes in this release.
Thanks
Thanks to @tlevesque-ueat for the repros, patience, and repeated validation while this got sorted out.
v3.7.0Compare Source
ce60dd5(closes #108)Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.