Skip to content

Commit

Permalink
Update dependency jest-extended to v4 (#370)
Browse files Browse the repository at this point in the history
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [jest-extended](https://github.com/jest-community/jest-extended) | [`1.2.1` -> `4.0.2`](https://renovatebot.com/diffs/npm/jest-extended/1.2.1/4.0.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/jest-extended/4.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/jest-extended/4.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/jest-extended/1.2.1/4.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/jest-extended/1.2.1/4.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>jest-community/jest-extended (jest-extended)</summary>

### [`v4.0.2`](https://github.com/jest-community/jest-extended/blob/HEAD/CHANGELOG.md#402)

[Compare Source](https://github.com/jest-community/jest-extended/compare/v4.0.1...v4.0.2)

##### Patch Changes

-   [`1f88101`](https://github.com/jest-community/jest-extended/commit/1f88101): Mark 2nd param of toHaveBeenCalledBefore and toHaveBeenCalledAfter optional

### [`v4.0.1`](https://github.com/jest-community/jest-extended/blob/HEAD/CHANGELOG.md#401)

[Compare Source](https://github.com/jest-community/jest-extended/compare/v4.0.0...v4.0.1)

##### Patch Changes

-   [`bad7056`](https://github.com/jest-community/jest-extended/commit/bad7056): Fix `toHaveBeenCalledExactlyOnceWith` typings
-   [`1609897`](https://github.com/jest-community/jest-extended/commit/1609897): Remove problematic Vitest types

### [`v4.0.0`](https://github.com/jest-community/jest-extended/blob/HEAD/CHANGELOG.md#400)

[Compare Source](https://github.com/jest-community/jest-extended/compare/v3.2.4...v4.0.0)

##### Major Changes

-   [`ab20845`](https://github.com/jest-community/jest-extended/commit/ab20845): Rename toHaveBeenCalledOnceWith to toHaveBeenCalledExactlyOnceWith

##### Minor Changes

-   [`5b80ca8`](https://github.com/jest-community/jest-extended/commit/5b80ca8): support vitest 0.31.0

##### Patch Changes

-   [`ab20845`](https://github.com/jest-community/jest-extended/commit/ab20845): Make CustomMatchers extend Record to fix a TypeScript error
-   [`ab20845`](https://github.com/jest-community/jest-extended/commit/ab20845): Fix toHaveBeenCalledOnceWith messages
-   [`ab20845`](https://github.com/jest-community/jest-extended/commit/ab20845): Change unknown to any in toHaveBeenCalledBefore and toHaveBeenCalledAfter

### [`v3.2.4`](https://github.com/jest-community/jest-extended/blob/HEAD/CHANGELOG.md#324)

[Compare Source](https://github.com/jest-community/jest-extended/compare/v3.2.3...v3.2.4)

##### Patch Changes

-   [`0b07513`](https://github.com/jest-community/jest-extended/commit/0b07513): Support varargs in toHaveBeenCalledOnceWith ([#&#8203;557](https://github.com/jest-community/jest-extended/issues/557))

### [`v3.2.3`](https://github.com/jest-community/jest-extended/releases/tag/v3.2.3)

[Compare Source](https://github.com/jest-community/jest-extended/compare/v3.2.2...v3.2.3)

#### What's Changed

-   fix(types): fix jest AsymmetricMatcher type by [@&#8203;rluvaton](https://github.com/rluvaton) in [https://github.com/jest-community/jest-extended/pull/551](https://github.com/jest-community/jest-extended/pull/551)

**Full Changelog**: jest-community/jest-extended@v3.2.2...v3.2.3

### [`v3.2.2`](https://github.com/jest-community/jest-extended/releases/tag/v3.2.2)

[Compare Source](https://github.com/jest-community/jest-extended/compare/v3.2.1...v3.2.2)

#### What's Changed

-   fix(types): add vitest support for AsymmetricMatchers by [@&#8203;rluvaton](https://github.com/rluvaton) in [https://github.com/jest-community/jest-extended/pull/549](https://github.com/jest-community/jest-extended/pull/549)

#### New Contributors

-   [@&#8203;rluvaton](https://github.com/rluvaton) made their first contribution in [https://github.com/jest-community/jest-extended/pull/549](https://github.com/jest-community/jest-extended/pull/549)

**Full Changelog**: jest-community/jest-extended@v3.2.1...v3.2.2

### [`v3.2.1`](https://github.com/jest-community/jest-extended/releases/tag/v3.2.1)

[Compare Source](https://github.com/jest-community/jest-extended/compare/v3.2.0...v3.2.1)

#### What's Changed

-   Change return type in Expect interface to void by [@&#8203;keeganwitt](https://github.com/keeganwitt) in [https://github.com/jest-community/jest-extended/pull/535](https://github.com/jest-community/jest-extended/pull/535)
-   Create pass/fail error messages only if required by [@&#8203;overlookmotel](https://github.com/overlookmotel) in [https://github.com/jest-community/jest-extended/pull/545](https://github.com/jest-community/jest-extended/pull/545)

#### New Contributors

-   [@&#8203;verdecchia](https://github.com/verdecchia) made their first contribution in [https://github.com/jest-community/jest-extended/pull/541](https://github.com/jest-community/jest-extended/pull/541)
-   [@&#8203;Unclemortuary](https://github.com/Unclemortuary) made their first contribution in [https://github.com/jest-community/jest-extended/pull/540](https://github.com/jest-community/jest-extended/pull/540)

**Full Changelog**: jest-community/jest-extended@v3.2.0...v3.2.1

### [`v3.2.0`](https://github.com/jest-community/jest-extended/releases/tag/v3.2.0)

[Compare Source](https://github.com/jest-community/jest-extended/compare/v3.1.0...v3.2.0)

#### What's Changed

-   Change return type in Expect interface from `Result` to `any` (closes [#&#8203;484](https://github.com/jest-community/jest-extended/issues/484)) by [@&#8203;keeganwitt](https://github.com/keeganwitt) in [https://github.com/jest-community/jest-extended/pull/492](https://github.com/jest-community/jest-extended/pull/492)
-   Fix `toHaveBeenCalledOnceWith` typing by [@&#8203;akoreh](https://github.com/akoreh) in [https://github.com/jest-community/jest-extended/pull/507](https://github.com/jest-community/jest-extended/pull/507)
-   Add `vitest` info to docs by [@&#8203;silverwind](https://github.com/silverwind) in [https://github.com/jest-community/jest-extended/pull/515](https://github.com/jest-community/jest-extended/pull/515)
-   Mark `jest` peerDependency as optional by [@&#8203;silverwind](https://github.com/silverwind) in [https://github.com/jest-community/jest-extended/pull/520](https://github.com/jest-community/jest-extended/pull/520)
-   `expect`: Add matcher `toBeInRange()` to validate if array elements are within the specified range by [@&#8203;mayankshukla94](https://github.com/mayankshukla94) in [https://github.com/jest-community/jest-extended/pull/461](https://github.com/jest-community/jest-extended/pull/461)
-   Fix `toHaveBeenCalledOnceWith` type definition (closes [#&#8203;518](https://github.com/jest-community/jest-extended/issues/518)) by [@&#8203;keeganwitt](https://github.com/keeganwitt) in [https://github.com/jest-community/jest-extended/pull/523](https://github.com/jest-community/jest-extended/pull/523)

#### New Contributors

-   [@&#8203;akoreh](https://github.com/akoreh) made their first contribution in [https://github.com/jest-community/jest-extended/pull/507](https://github.com/jest-community/jest-extended/pull/507)
-   [@&#8203;silverwind](https://github.com/silverwind) made their first contribution in [https://github.com/jest-community/jest-extended/pull/515](https://github.com/jest-community/jest-extended/pull/515)
-   [@&#8203;mayankshukla94](https://github.com/mayankshukla94) made their first contribution in [https://github.com/jest-community/jest-extended/pull/461](https://github.com/jest-community/jest-extended/pull/461)

**Full Changelog**: jest-community/jest-extended@v3.1.0...v3.2.0

### [`v3.1.0`](https://github.com/jest-community/jest-extended/releases/tag/v3.1.0)

[Compare Source](https://github.com/jest-community/jest-extended/compare/v3.0.2...v3.1.0)

#### What's Changed

-   Add toHaveBeenCalledOnceWith matcher by [@&#8203;thibautsabot](https://github.com/thibautsabot) in [https://github.com/jest-community/jest-extended/pull/430](https://github.com/jest-community/jest-extended/pull/430)
-   docs: mention `eslint-plugin-jest-extended` in README by [@&#8203;G-Rath](https://github.com/G-Rath) in [https://github.com/jest-community/jest-extended/pull/493](https://github.com/jest-community/jest-extended/pull/493)
-   Update jest monorepo to v29 (major) by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/jest-community/jest-extended/pull/495](https://github.com/jest-community/jest-extended/pull/495)

#### New Contributors

-   [@&#8203;thibautsabot](https://github.com/thibautsabot) made their first contribution in [https://github.com/jest-community/jest-extended/pull/430](https://github.com/jest-community/jest-extended/pull/430)

**Full Changelog**: jest-community/jest-extended@v3.0.2...v3.1.0

### [`v3.0.2`](https://github.com/jest-community/jest-extended/releases/tag/v3.0.2)

[Compare Source](https://github.com/jest-community/jest-extended/compare/v3.0.1...v3.0.2)

#### What's Changed

-   Fix typings of `toThrowWithMessage`, support unconstructable errors by [@&#8203;GerkinDev](https://github.com/GerkinDev) in [https://github.com/jest-community/jest-extended/pull/475](https://github.com/jest-community/jest-extended/pull/475)
-   Fix toHaveBeenCalledBefore/toHaveBeenCalledAfter type definition by [@&#8203;aheuermann](https://github.com/aheuermann) in [https://github.com/jest-community/jest-extended/pull/292](https://github.com/jest-community/jest-extended/pull/292)
-   Declare matchers for use with expect.not.MATCHER ([#&#8203;385](https://github.com/jest-community/jest-extended/issues/385)) by [@&#8203;dharkness](https://github.com/dharkness) in [https://github.com/jest-community/jest-extended/pull/386](https://github.com/jest-community/jest-extended/pull/386)
-   Change any to unknown by [@&#8203;keeganwitt](https://github.com/keeganwitt) in [https://github.com/jest-community/jest-extended/pull/477](https://github.com/jest-community/jest-extended/pull/477)

#### New Contributors

-   [@&#8203;aheuermann](https://github.com/aheuermann) made their first contribution in [https://github.com/jest-community/jest-extended/pull/292](https://github.com/jest-community/jest-extended/pull/292)

**Full Changelog**: jest-community/jest-extended@v3.0.1...v3.0.2

### [`v3.0.1`](https://github.com/jest-community/jest-extended/releases/tag/v3.0.1)

[Compare Source](https://github.com/jest-community/jest-extended/compare/v3.0.0...v3.0.1)

#### What's Changed

-   fix: use `readonly` array types in matchers by [@&#8203;ilyub](https://github.com/ilyub) in [https://github.com/jest-community/jest-extended/pull/465](https://github.com/jest-community/jest-extended/pull/465)
-   fix(types): optional `failIfNoSecondInvocation` parameter by [@&#8203;j-waaang](https://github.com/j-waaang) in [https://github.com/jest-community/jest-extended/pull/468](https://github.com/jest-community/jest-extended/pull/468)

#### New Contributors

-   [@&#8203;ilyub](https://github.com/ilyub) made their first contribution in [https://github.com/jest-community/jest-extended/pull/465](https://github.com/jest-community/jest-extended/pull/465)
-   [@&#8203;j-waaang](https://github.com/j-waaang) made their first contribution in [https://github.com/jest-community/jest-extended/pull/468](https://github.com/jest-community/jest-extended/pull/468)

**Full Changelog**: jest-community/jest-extended@v3.0.0...v3.0.1

### [`v3.0.0`](https://github.com/jest-community/jest-extended/releases/tag/v3.0.0)

[Compare Source](https://github.com/jest-community/jest-extended/compare/v2.1.0...v3.0.0)

This is the same as https://github.com/jest-community/jest-extended/releases/tag/v2.1.0, but properly released as a major

### [`v2.1.0`](https://github.com/jest-community/jest-extended/releases/tag/v2.1.0)

[Compare Source](https://github.com/jest-community/jest-extended/compare/v2.0.0...v2.1.0)

⚠️ This should have been released as a major as it dropped Node 12 and 17 ⚠️

#### What's Changed

-   Restructure project by [@&#8203;mattphillips](https://github.com/mattphillips) in [https://github.com/jest-community/jest-extended/pull/410](https://github.com/jest-community/jest-extended/pull/410)
-   Fix broken link in example by [@&#8203;mattalexx](https://github.com/mattalexx) in [https://github.com/jest-community/jest-extended/pull/422](https://github.com/jest-community/jest-extended/pull/422)
-   Update toHaveBeenCalledAfter to fail if second mock is never called by [@&#8203;theryansmee](https://github.com/theryansmee) in [https://github.com/jest-community/jest-extended/pull/420](https://github.com/jest-community/jest-extended/pull/420)
-   Remove unsupported Node versions by [@&#8203;keeganwitt](https://github.com/keeganwitt) in [https://github.com/jest-community/jest-extended/pull/450](https://github.com/jest-community/jest-extended/pull/450)
-   chore(deps): lock file maintenance by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/jest-community/jest-extended/pull/453](https://github.com/jest-community/jest-extended/pull/453)
-   chore(deps): lock file maintenance by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/jest-community/jest-extended/pull/454](https://github.com/jest-community/jest-extended/pull/454)
-   Fix typos in matcherName in matcherHints by [@&#8203;keeganwitt](https://github.com/keeganwitt) in [https://github.com/jest-community/jest-extended/pull/457](https://github.com/jest-community/jest-extended/pull/457)
-   feat: upgrade to jest v28 by [@&#8203;G-Rath](https://github.com/G-Rath) in [https://github.com/jest-community/jest-extended/pull/463](https://github.com/jest-community/jest-extended/pull/463)

#### New Contributors

-   [@&#8203;mattalexx](https://github.com/mattalexx) made their first contribution in [https://github.com/jest-community/jest-extended/pull/422](https://github.com/jest-community/jest-extended/pull/422)
-   [@&#8203;theryansmee](https://github.com/theryansmee) made their first contribution in [https://github.com/jest-community/jest-extended/pull/420](https://github.com/jest-community/jest-extended/pull/420)
-   [@&#8203;G-Rath](https://github.com/G-Rath) made their first contribution in [https://github.com/jest-community/jest-extended/pull/463](https://github.com/jest-community/jest-extended/pull/463)

**Full Changelog**: jest-community/jest-extended@v2.0.0...v2.1.0

### [`v2.0.0`](https://github.com/jest-community/jest-extended/releases/tag/v2.0.0)

[Compare Source](https://github.com/jest-community/jest-extended/compare/v1.2.1...v2.0.0)

#### What's Changed

-   feat: delete expect and jest-matcher-utils dependencies by [@&#8203;keeganwitt](https://github.com/keeganwitt) in [https://github.com/jest-community/jest-extended/pull/405](https://github.com/jest-community/jest-extended/pull/405)

#### Breaking changes

-   Only `jest@27.2.5` and newer is supported

**Full Changelog**: jest-community/jest-extended@v1.2.1...v2.0.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/X-oss-byte/Nextjs).
  • Loading branch information
renovate[bot] authored Oct 13, 2023
1 parent 840778c commit 36166a3
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 116 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
"is-animated": "2.0.2",
"isomorphic-unfetch": "4.0.2",
"jest": "27.5.1",
"jest-extended": "1.2.1",
"jest-extended": "4.0.2",
"jest-junit": "16.0.0",
"json5": "2.2.3",
"ky": "0.33.3",
Expand Down
158 changes: 43 additions & 115 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 36166a3

Please sign in to comment.