-
-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create pass/fail error messages only if required #545
Conversation
588bb81
to
ad5c5a2
Compare
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov Report
@@ Coverage Diff @@
## main #545 +/- ##
==========================================
Coverage 100.00% 100.00%
==========================================
Files 73 73
Lines 601 673 +72
Branches 153 289 +136
==========================================
+ Hits 601 673 +72
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Includes jest-community/jest-extended#545 which speeds up tests.
Includes jest-community/jest-extended#545 which speeds up tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!! 🎉
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped)) | [`29.2.4` -> `29.2.5`](https://renovatebot.com/diffs/npm/@types%2fjest/29.2.4/29.2.5) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.2.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.2.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.2.5/compatibility-slim/29.2.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.2.5/confidence-slim/29.2.4)](https://docs.renovatebot.com/merge-confidence/) | | [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint) | [`5.47.1` -> `5.48.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/5.47.1/5.48.0) | [![age](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.48.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.48.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.48.0/compatibility-slim/5.47.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.48.0/confidence-slim/5.47.1)](https://docs.renovatebot.com/merge-confidence/) | | [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint) | [`5.47.1` -> `5.48.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/5.47.1/5.48.0) | [![age](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.48.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.48.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.48.0/compatibility-slim/5.47.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.48.0/confidence-slim/5.47.1)](https://docs.renovatebot.com/merge-confidence/) | | [antd](https://ant.design) ([source](https://github.com/ant-design/ant-design)) | [`5.1.1` -> `5.1.2`](https://renovatebot.com/diffs/npm/antd/5.1.1/5.1.2) | [![age](https://badges.renovateapi.com/packages/npm/antd/5.1.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/antd/5.1.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/antd/5.1.2/compatibility-slim/5.1.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/antd/5.1.2/confidence-slim/5.1.1)](https://docs.renovatebot.com/merge-confidence/) | | [eslint](https://eslint.org) ([source](https://github.com/eslint/eslint)) | [`8.30.0` -> `8.31.0`](https://renovatebot.com/diffs/npm/eslint/8.30.0/8.31.0) | [![age](https://badges.renovateapi.com/packages/npm/eslint/8.31.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/eslint/8.31.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/eslint/8.31.0/compatibility-slim/8.30.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/eslint/8.31.0/confidence-slim/8.30.0)](https://docs.renovatebot.com/merge-confidence/) | | [fastify](https://www.fastify.io/) ([source](https://github.com/fastify/fastify)) | [`4.10.2` -> `4.11.0`](https://renovatebot.com/diffs/npm/fastify/4.10.2/4.11.0) | [![age](https://badges.renovateapi.com/packages/npm/fastify/4.11.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/fastify/4.11.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/fastify/4.11.0/compatibility-slim/4.10.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/fastify/4.11.0/confidence-slim/4.10.2)](https://docs.renovatebot.com/merge-confidence/) | | [husky](https://typicode.github.io/husky) ([source](https://github.com/typicode/husky)) | [`8.0.2` -> `8.0.3`](https://renovatebot.com/diffs/npm/husky/8.0.2/8.0.3) | [![age](https://badges.renovateapi.com/packages/npm/husky/8.0.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/husky/8.0.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/husky/8.0.3/compatibility-slim/8.0.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/husky/8.0.3/confidence-slim/8.0.2)](https://docs.renovatebot.com/merge-confidence/) | | [jest-extended](https://github.com/jest-community/jest-extended) | [`3.2.0` -> `3.2.1`](https://renovatebot.com/diffs/npm/jest-extended/3.2.0/3.2.1) | [![age](https://badges.renovateapi.com/packages/npm/jest-extended/3.2.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/jest-extended/3.2.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/jest-extended/3.2.1/compatibility-slim/3.2.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/jest-extended/3.2.1/confidence-slim/3.2.0)](https://docs.renovatebot.com/merge-confidence/) | | [liquidjs](https://github.com/harttle/liquidjs) | [`10.3.3` -> `10.4.0`](https://renovatebot.com/diffs/npm/liquidjs/10.3.3/10.4.0) | [![age](https://badges.renovateapi.com/packages/npm/liquidjs/10.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/liquidjs/10.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/liquidjs/10.4.0/compatibility-slim/10.3.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/liquidjs/10.4.0/confidence-slim/10.3.3)](https://docs.renovatebot.com/merge-confidence/) | | [tsconfig-paths](https://github.com/dividab/tsconfig-paths) | [`4.1.1` -> `4.1.2`](https://renovatebot.com/diffs/npm/tsconfig-paths/4.1.1/4.1.2) | [![age](https://badges.renovateapi.com/packages/npm/tsconfig-paths/4.1.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/tsconfig-paths/4.1.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/tsconfig-paths/4.1.2/compatibility-slim/4.1.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/tsconfig-paths/4.1.2/confidence-slim/4.1.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)</summary> ### [`v5.48.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​5480-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5471v5480-2023-01-02) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v5.47.1...v5.48.0) ##### Features - **eslint-plugin:** specify which method is unbound and added test case ([#​6281](https://github.com/typescript-eslint/typescript-eslint/issues/6281)) ([cf3ffdd](https://github.com/typescript-eslint/typescript-eslint/commit/cf3ffdd49aceb734ce18dc44ed6a11f7701f178e)) #### [5.47.1](https://github.com/typescript-eslint/typescript-eslint/compare/v5.47.0...v5.47.1) (2022-12-26) ##### Bug Fixes - **ast-spec:** correct some incorrect ast types ([#​6257](https://github.com/typescript-eslint/typescript-eslint/issues/6257)) ([0f3f645](https://github.com/typescript-eslint/typescript-eslint/commit/0f3f64571ea5d938081b1a9f3fd1495765201700)) - **eslint-plugin:** \[member-ordering] correctly invert optionalityOrder ([#​6256](https://github.com/typescript-eslint/typescript-eslint/issues/6256)) ([ccd45d4](https://github.com/typescript-eslint/typescript-eslint/commit/ccd45d4a998946b7be1161f8c8216bc458e50b4e)) </details> <details> <summary>typescript-eslint/typescript-eslint (@​typescript-eslint/parser)</summary> ### [`v5.48.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​5480-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5471v5480-2023-01-02) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v5.47.1...v5.48.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://github.com/typescript-eslint/parser) #### [5.47.1](https://github.com/typescript-eslint/typescript-eslint/compare/v5.47.0...v5.47.1) (2022-12-26) **Note:** Version bump only for package [@​typescript-eslint/parser](https://github.com/typescript-eslint/parser) </details> <details> <summary>ant-design/ant-design</summary> ### [`v5.1.2`](https://github.com/ant-design/ant-design/releases/tag/5.1.2) [Compare Source](https://github.com/ant-design/ant-design/compare/5.1.1...5.1.2) - 🆕 Theme Editor supports uploading themes. [#​39621](https://github.com/ant-design/ant-design/pull/39621) [@​BoyYangzai](https://github.com/BoyYangzai) - 💄 Refactor wave effect that can now trigger multiple times. [#​39705](https://github.com/ant-design/ant-design/pull/39705) [@​li-jia-nan](https://github.com/li-jia-nan) - Table - 🐞 Fix Table `column.filtered` cannot be updated. [#​39883](https://github.com/ant-design/ant-design/pull/39883) - 🐞 Fix Table fixed column which is sorted or filtered transparent background bug. [#​39012](https://github.com/ant-design/ant-design/pull/39012) [@​kiner-tang](https://github.com/kiner-tang) - 🐞 Fix Image preview style conflict with TailwindCSS. [#​39914](https://github.com/ant-design/ant-design/pull/39914) - 🐞 Fix Dropdown `danger` and `disabled` style priority bug. [#​39904](https://github.com/ant-design/ant-design/pull/39904) [@​Wxh16144](https://github.com/Wxh16144) - 🐞 Fix App.useApp `modal` default `okText`. [#​39884](https://github.com/ant-design/ant-design/pull/39884) [@​BoyYangzai](https://github.com/BoyYangzai) - 💄 Fix Input.Group misplace style when zoom up in windows. [#​39842](https://github.com/ant-design/ant-design/pull/39842) [@​heiyu4585](https://github.com/heiyu4585) - 🐞 Fix Slider missing Tooltip appear motion. [#​39857](https://github.com/ant-design/ant-design/pull/39857) - 🐞 Fix QRCode missing expired style. [#​39849](https://github.com/ant-design/ant-design/pull/39849) [@​li-jia-nan](https://github.com/li-jia-nan) - 🐞 Fix Tree switcher's background display unexpected in dark theme. [#​39838](https://github.com/ant-design/ant-design/pull/39838) [@​kiner-tang](https://github.com/kiner-tang) - 🐞 Fix Menu slide bar style issue when `border` is reset by preset. [#​39819](https://github.com/ant-design/ant-design/pull/39819) [@​MadCcc](https://github.com/MadCcc) - 🐞 Fix Checkbox not support Tooltip or Popover when it is `disabled`. [#​39829](https://github.com/ant-design/ant-design/pull/39829) *** - 🆕 官网主题编辑器添加主题上传功能。[#​39621](https://github.com/ant-design/ant-design/pull/39621) [@​BoyYangzai](https://github.com/BoyYangzai) - 💄 重构水波纹视效,现在可以多个水波纹同时触发了。[#​39705](https://github.com/ant-design/ant-design/pull/39705) [@​li-jia-nan](https://github.com/li-jia-nan) - Table - 🐞 修复 Table `column.filtered` 更新不生效的问题。[#​39883](https://github.com/ant-design/ant-design/pull/39883) - 🐞 修复 Table 排序/筛选的固定列背景色透明的样式异常问题。[#​39012](https://github.com/ant-design/ant-design/pull/39012) [@​kiner-tang](https://github.com/kiner-tang) - 🐞 解决 Image 预览样式会被 TailwindCSS 影响的问题。[#​39914](https://github.com/ant-design/ant-design/pull/39914) - 🐞 修复 Dropdown 组件 `danger` 和 `disabled` 属性同时使用的样式问题。[#​39904](https://github.com/ant-design/ant-design/pull/39904) [@​Wxh16144](https://github.com/Wxh16144) - 🐞 修复 App `useApp` 中 `modal` 确认按钮文案。[#​39884](https://github.com/ant-design/ant-design/pull/39884) [@​BoyYangzai](https://github.com/BoyYangzai) - 🐞 修复 Input.Group 在 windows 下缩放屏幕时的错位问题。[#​39842](https://github.com/ant-design/ant-design/pull/39842) [@​heiyu4585](https://github.com/heiyu4585) - 🐞 修复 Slider 展示 Tooltip 时动画丢失的问题。[#​39857](https://github.com/ant-design/ant-design/pull/39857) - 🐞 修复 QRCode 过期文案在暗色模式下看不清的问题。[#​39849](https://github.com/ant-design/ant-design/pull/39849) [@​li-jia-nan](https://github.com/li-jia-nan) - 🐞 修复 Tree 在暗黑模式下 `switcher` 背景显示异常问题。[#​39838](https://github.com/ant-design/ant-design/pull/39838) [@​kiner-tang](https://github.com/kiner-tang) - 🐞 修复 Menu 组件滑块在 `border` 被预设值重置时的样式问题。[#​39819](https://github.com/ant-design/ant-design/pull/39819) - 🐞 修复 Checkbox 禁用时不支持 Tooltip 和 Popover 的问题。[#​39829](https://github.com/ant-design/ant-design/pull/39829) </details> <details> <summary>eslint/eslint</summary> ### [`v8.31.0`](https://github.com/eslint/eslint/releases/tag/v8.31.0) [Compare Source](https://github.com/eslint/eslint/compare/v8.30.0...v8.31.0) #### Features - [`52c7c73`](https://github.com/eslint/eslint/commit/52c7c73c052e1ec2528c6b4af78181bc30cf8cdd) feat: check assignment patterns in no-underscore-dangle ([#​16693](https://github.com/eslint/eslint/issues/16693)) (Milos Djermanovic) - [`b401cde`](https://github.com/eslint/eslint/commit/b401cde47d44746ff91b8feced3fb3a4e32c0e12) feat: add options to check destructuring in no-underscore-dangle ([#​16006](https://github.com/eslint/eslint/issues/16006)) (Morten Kaltoft) - [`30d0daf`](https://github.com/eslint/eslint/commit/30d0daf55e85a412995f6d69f47cab3fb591f2c3) feat: group properties with values in parentheses in `key-spacing` ([#​16677](https://github.com/eslint/eslint/issues/16677)) (Francesco Trotta) #### Bug Fixes - [`35439f1`](https://github.com/eslint/eslint/commit/35439f1572e1a8888f7feb6c5e51a15b5582495d) fix: correct syntax error in `prefer-arrow-callback` autofix ([#​16722](https://github.com/eslint/eslint/issues/16722)) (Francesco Trotta) - [`87b2470`](https://github.com/eslint/eslint/commit/87b247058ed520061fe1a146b7f0e7072a94990d) fix: new instance of FlatESLint should load latest config file version ([#​16608](https://github.com/eslint/eslint/issues/16608)) (Milos Djermanovic) #### Documentation - [`4339dc4`](https://github.com/eslint/eslint/commit/4339dc462d78888fe2e10acdfacd6f57245ce6ae) docs: Update README (GitHub Actions Bot) - [`4e4049c`](https://github.com/eslint/eslint/commit/4e4049c5fa355b2091afc8948690fcd7b1c1e6df) docs: optimize code block structure ([#​16669](https://github.com/eslint/eslint/issues/16669)) (Sam Chen) - [`54a7ade`](https://github.com/eslint/eslint/commit/54a7ade5d8e6f59554afeb9202ba6143f8afdf57) docs: do not escape code blocks of formatters examples ([#​16719](https://github.com/eslint/eslint/issues/16719)) (Sam Chen) - [`e5ecfef`](https://github.com/eslint/eslint/commit/e5ecfefa1c952195a3a8371f5953cc655d844079) docs: Add function call example for no-undefined ([#​16712](https://github.com/eslint/eslint/issues/16712)) (Elliot Huffman) - [`a3262f0`](https://github.com/eslint/eslint/commit/a3262f0a6305d2a721fac137a60c62c019b26aa4) docs: Add mastodon link ([#​16638](https://github.com/eslint/eslint/issues/16638)) (Amaresh S M) - [`a14ccf9`](https://github.com/eslint/eslint/commit/a14ccf91af1122e419710f58ef494980fc4894b3) docs: clarify files property ([#​16709](https://github.com/eslint/eslint/issues/16709)) (Sam Chen) - [`3b29eb1`](https://github.com/eslint/eslint/commit/3b29eb14e00182614c986d8498b483a9917976e7) docs: fix npm link ([#​16710](https://github.com/eslint/eslint/issues/16710)) (Abdullah Osama) - [`a638673`](https://github.com/eslint/eslint/commit/a638673ee6e94344c46d12dfc988adeb3783f817) docs: fix search bar focus on `Esc` ([#​16700](https://github.com/eslint/eslint/issues/16700)) (Shanmughapriyan S) - [`f62b722`](https://github.com/eslint/eslint/commit/f62b722251858a5dfb157591910edbaaeb4a966f) docs: country flag missing in windows ([#​16698](https://github.com/eslint/eslint/issues/16698)) (Shanmughapriyan S) - [`4d27ec6`](https://github.com/eslint/eslint/commit/4d27ec6019847afabeebf592dddc014e9220057c) docs: display zh-hans in the docs language switcher ([#​16686](https://github.com/eslint/eslint/issues/16686)) (Percy Ma) - [`8bda20e`](https://github.com/eslint/eslint/commit/8bda20e8276c6ba17d31842fcdd63ba65476fbbd) docs: remove manually maintained anchors ([#​16685](https://github.com/eslint/eslint/issues/16685)) (Percy Ma) - [`b68440f`](https://github.com/eslint/eslint/commit/b68440ff2b8322fc00373792701169205c94ed94) docs: User Guide Getting Started expansion ([#​16596](https://github.com/eslint/eslint/issues/16596)) (Ben Perlmutter) #### Chores - [`65d4e24`](https://github.com/eslint/eslint/commit/65d4e24c36367cd63f0eba7371820e0e81dae7aa) chore: Upgrade [@​eslint/eslintrc](https://github.com/eslint/eslintrc)[@​1](https://github.com/1).4.1 ([#​16729](https://github.com/eslint/eslint/issues/16729)) (Brandon Mills) - [`8d93081`](https://github.com/eslint/eslint/commit/8d93081a717f6e8b8cb60c3075cc1d7e4e655e6b) chore: fix CI failure ([#​16721](https://github.com/eslint/eslint/issues/16721)) (Sam Chen) - [`8f17247`](https://github.com/eslint/eslint/commit/8f17247a93240ff8a08980d8e06352e4ff4e8fe3) chore: Set up automatic updating of README ([#​16717](https://github.com/eslint/eslint/issues/16717)) (Nicholas C. Zakas) - [`4cd87cb`](https://github.com/eslint/eslint/commit/4cd87cb3c52412277577ba00c4fbb1aec36acc8c) ci: bump actions/stale from 6 to 7 ([#​16713](https://github.com/eslint/eslint/issues/16713)) (dependabot\[bot]) - [`fd20c75`](https://github.com/eslint/eslint/commit/fd20c75b1059c54d598c0abaf63e7d7a80f04f32) chore: sort package.json scripts in alphabetical order ([#​16705](https://github.com/eslint/eslint/issues/16705)) (Darius Dzien) - [`10a5c78`](https://github.com/eslint/eslint/commit/10a5c7839370219c79f44d4206cbd7c28a72bad5) chore: update ignore patterns in `eslint.config.js` ([#​16678](https://github.com/eslint/eslint/issues/16678)) (Milos Djermanovic) </details> <details> <summary>fastify/fastify</summary> ### [`v4.11.0`](https://github.com/fastify/fastify/releases/tag/v4.11.0) [Compare Source](https://github.com/fastify/fastify/compare/v4.10.2...v4.11.0) ##### What's Changed - fix: use generic for Logger to register plugins when using a custom logger ([#​4435](https://github.com/fastify/fastify/issues/4435)) by [@​marcoreni](https://github.com/marcoreni) in [https://github.com/fastify/fastify/pull/4436](https://github.com/fastify/fastify/pull/4436) - Incorrect example in default text parser docs by [@​SaumyaBhushan](https://github.com/SaumyaBhushan) in [https://github.com/fastify/fastify/pull/4448](https://github.com/fastify/fastify/pull/4448) - chore: fix test skips for nodejs prereleases by [@​nlf](https://github.com/nlf) in [https://github.com/fastify/fastify/pull/4449](https://github.com/fastify/fastify/pull/4449) - Move [@​Ethan-Arrowood](https://github.com/Ethan-Arrowood) to Past Collaborator section by [@​Ethan-Arrowood](https://github.com/Ethan-Arrowood) in [https://github.com/fastify/fastify/pull/4451](https://github.com/fastify/fastify/pull/4451) - build(deps): bump lycheeverse/lychee-action from 1.5.1 to 1.5.4 by [@​dependabot](https://github.com/dependabot) in [https://github.com/fastify/fastify/pull/4454](https://github.com/fastify/fastify/pull/4454) - build(deps): bump actions/dependency-review-action from 2 to 3 by [@​dependabot](https://github.com/dependabot) in [https://github.com/fastify/fastify/pull/4455](https://github.com/fastify/fastify/pull/4455) - build(deps-dev): bump tsd from 0.24.1 to 0.25.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/fastify/fastify/pull/4460](https://github.com/fastify/fastify/pull/4460) - docs: add fastify-user-agent by [@​Eomm](https://github.com/Eomm) in [https://github.com/fastify/fastify/pull/4466](https://github.com/fastify/fastify/pull/4466) - chore(ecosystem): rename fastify-lyra plugin by [@​mateonunez](https://github.com/mateonunez) in [https://github.com/fastify/fastify/pull/4474](https://github.com/fastify/fastify/pull/4474) - docs(ecosystem): add fastify-at-mysql plugin by [@​mateonunez](https://github.com/mateonunez) in [https://github.com/fastify/fastify/pull/4473](https://github.com/fastify/fastify/pull/4473) - fix: make res.statusCode optional by [@​polRk](https://github.com/polRk) in [https://github.com/fastify/fastify/pull/4471](https://github.com/fastify/fastify/pull/4471) - docs(ecosystem): add fastify-at-postgres plugin by [@​mateonunez](https://github.com/mateonunez) in [https://github.com/fastify/fastify/pull/4475](https://github.com/fastify/fastify/pull/4475) - perf: precompute isEssence for RegExp of content-type-parser method compareRegExpContentType by [@​Uzlopak](https://github.com/Uzlopak) in [https://github.com/fastify/fastify/pull/4481](https://github.com/fastify/fastify/pull/4481) - lib: deprecate the default route and improve its documentation by [@​RafaelGSS](https://github.com/RafaelGSS) in [https://github.com/fastify/fastify/pull/4480](https://github.com/fastify/fastify/pull/4480) - docs(reference/reply): When using async-await, need return by [@​radiorz](https://github.com/radiorz) in [https://github.com/fastify/fastify/pull/4429](https://github.com/fastify/fastify/pull/4429) - fix: re-thrown error crash by [@​climba03003](https://github.com/climba03003) in [https://github.com/fastify/fastify/pull/4488](https://github.com/fastify/fastify/pull/4488) - build(deps): bump thollander/actions-comment-pull-request from 1 to 2 by [@​dependabot](https://github.com/dependabot) in [https://github.com/fastify/fastify/pull/4489](https://github.com/fastify/fastify/pull/4489) - build(deps): bump xt0rted/markdownlint-problem-matcher from 1.1.0 to 2.0.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/fastify/fastify/pull/4490](https://github.com/fastify/fastify/pull/4490) - improve `setErrorHandler` example by [@​trim21](https://github.com/trim21) in [https://github.com/fastify/fastify/pull/4484](https://github.com/fastify/fastify/pull/4484) ##### New Contributors - [@​marcoreni](https://github.com/marcoreni) made their first contribution in [https://github.com/fastify/fastify/pull/4436](https://github.com/fastify/fastify/pull/4436) - [@​SaumyaBhushan](https://github.com/SaumyaBhushan) made their first contribution in [https://github.com/fastify/fastify/pull/4448](https://github.com/fastify/fastify/pull/4448) - [@​nlf](https://github.com/nlf) made their first contribution in [https://github.com/fastify/fastify/pull/4449](https://github.com/fastify/fastify/pull/4449) - [@​polRk](https://github.com/polRk) made their first contribution in [https://github.com/fastify/fastify/pull/4471](https://github.com/fastify/fastify/pull/4471) - [@​radiorz](https://github.com/radiorz) made their first contribution in [https://github.com/fastify/fastify/pull/4429](https://github.com/fastify/fastify/pull/4429) - [@​trim21](https://github.com/trim21) made their first contribution in [https://github.com/fastify/fastify/pull/4484](https://github.com/fastify/fastify/pull/4484) **Full Changelog**: fastify/fastify@v4.10.2...v4.11.0 </details> <details> <summary>typicode/husky</summary> ### [`v8.0.3`](https://github.com/typicode/husky/releases/tag/v8.0.3) [Compare Source](https://github.com/typicode/husky/compare/v8.0.2...v8.0.3) - fix: add git not installed message [#​1208](https://github.com/typicode/husky/issues/1208) </details> <details> <summary>jest-community/jest-extended</summary> ### [`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 [@​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 [@​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 - [@​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) - [@​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 </details> <details> <summary>harttle/liquidjs</summary> ### [`v10.4.0`](https://github.com/harttle/liquidjs/blob/HEAD/CHANGELOG.md#​1040-httpsgithubcomharttleliquidjscomparev1033v1040-2023-01-02) [Compare Source](https://github.com/harttle/liquidjs/compare/v10.3.3...v10.4.0) ##### Features - support `not` operator, [#​575](https://github.com/harttle/liquidjs/issues/575) ([3f21382](https://github.com/harttle/liquidjs/commit/3f21382d43cafa1e32162e58adabd22d5c3709ed)) - support calling `date` without format string, [#​573](https://github.com/harttle/liquidjs/issues/573) ([aafaa0b](https://github.com/harttle/liquidjs/commit/aafaa0b4f9e84f466fbcc2cb2ae37fe8704c5272)) #### [10.3.3](https://github.com/harttle/liquidjs/compare/v10.3.2...v10.3.3) (2022-12-18) ##### Bug Fixes - type compatible with v9 tag definition, support `Context` as scope in various render APIs, [#​570](https://github.com/harttle/liquidjs/issues/570) ([fb6a9f8](https://github.com/harttle/liquidjs/commit/fb6a9f8717cd57522d53687da7e4718b28a7f68a)) #### [10.3.2](https://github.com/harttle/liquidjs/compare/v10.3.1...v10.3.2) (2022-12-13) ##### Bug Fixes - re-export error classes, [#​569](https://github.com/harttle/liquidjs/issues/569) ([2663ee1](https://github.com/harttle/liquidjs/commit/2663ee16a066c74cbd387fe40154fdeb2136f35a)) #### [10.3.1](https://github.com/harttle/liquidjs/compare/v10.3.0...v10.3.1) (2022-12-12) ##### Bug Fixes - support `Context` as `evalValue` parameter, [#​568](https://github.com/harttle/liquidjs/issues/568) ([0f4916b](https://github.com/harttle/liquidjs/commit/0f4916bc5a93f5e744e4246336c68f2e89774272)) </details> <details> <summary>dividab/tsconfig-paths</summary> ### [`v4.1.2`](https://github.com/dividab/tsconfig-paths/blob/HEAD/CHANGELOG.md#​412---2023-01-02) [Compare Source](https://github.com/dividab/tsconfig-paths/compare/v4.1.1...v4.1.2) ##### Fixed - Bump JSON5 dependency to 2.2.2 to fix CVE-2022-46175. See PR [#​232](https://github.com/dividab/tsconfig-paths/pull/232). Thanks to [@​oparisblue](https://github.com/oparisblue) for this PR! </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" (UTC), 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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->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://app.renovatebot.com/dashboard#github/PKUHPC/SCOW). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped)) | [`^29.2.4` -> `^29.2.5`](https://renovatebot.com/diffs/npm/@types%2fjest/29.2.4/29.2.5) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.2.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.2.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.2.5/compatibility-slim/29.2.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.2.5/confidence-slim/29.2.4)](https://docs.renovatebot.com/merge-confidence/) | | [jest-extended](https://github.com/jest-community/jest-extended) | [`3.2.0` -> `3.2.3`](https://renovatebot.com/diffs/npm/jest-extended/3.2.0/3.2.3) | [![age](https://badges.renovateapi.com/packages/npm/jest-extended/3.2.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/jest-extended/3.2.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/jest-extended/3.2.3/compatibility-slim/3.2.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/jest-extended/3.2.3/confidence-slim/3.2.0)](https://docs.renovatebot.com/merge-confidence/) | | [ts-jest](https://kulshekhar.github.io/ts-jest) ([source](https://github.com/kulshekhar/ts-jest)) | [`29.0.3` -> `29.0.4`](https://renovatebot.com/diffs/npm/ts-jest/29.0.3/29.0.4) | [![age](https://badges.renovateapi.com/packages/npm/ts-jest/29.0.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/ts-jest/29.0.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/ts-jest/29.0.4/compatibility-slim/29.0.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/ts-jest/29.0.4/confidence-slim/29.0.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>jest-community/jest-extended</summary> ### [`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 [@​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 [@​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 - [@​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 [@​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 [@​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 - [@​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) - [@​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 </details> <details> <summary>kulshekhar/ts-jest</summary> ### [`v29.0.4`](https://github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#​2904-httpsgithubcomkulshekharts-jestcomparev2903v2904-2023-01-10) [Compare Source](https://github.com/kulshekhar/ts-jest/compare/v29.0.3...v29.0.4) ##### Bug Fixes - **transformer:** don't use cache when `tsJestConfig` is different ([#​3966](https://github.com/kulshekhar/ts-jest/issues/3966)) ([a445638](https://github.com/kulshekhar/ts-jest/commit/a445638ca631911e8ab1a896ffdfcd21506ce71a)) - bump `json5` to `2.2.3` ([#​3976](https://github.com/kulshekhar/ts-jest/pull/3976))([b9f7809](https://github.com/kulshekhar/ts-jest/commit/b9f7809948309f92534aeba63f3ffb01cb7dc536)) </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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->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://app.renovatebot.com/dashboard#github/BirthdayResearch/sticky). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuOTguMSJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![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 ([#​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 [@​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 [@​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 - [@​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 [@​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 [@​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 - [@​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) - [@​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 [#​484](https://github.com/jest-community/jest-extended/issues/484)) by [@​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 [@​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 [@​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 [@​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 [@​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 [#​518](https://github.com/jest-community/jest-extended/issues/518)) by [@​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 - [@​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) - [@​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) - [@​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 [@​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 [@​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 [@​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 - [@​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 [@​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 [@​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 ([#​385](https://github.com/jest-community/jest-extended/issues/385)) by [@​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 [@​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 - [@​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 [@​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 [@​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 - [@​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) - [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 - [@​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) - [@​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) - [@​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 [@​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).
What
Issue: #544
Almost all the matchers eagerly create both
passMessage
andfailMessage
regardless of whether the expectation passes or not. In the common case that the expectation passes, neither error message is ever used, so all this work is unnecessary. If the expectation fails, only one of the pass/fail message is used, so half the work is unnecessary.This is slowing down all expectations, but the problem becomes very noticeable if the input is a large object, so calculating
printReceived()
is very slow (see #544).This PR amends all the matchers to lazily calculate the pass/fail error messages only if they're required.
Why
To make tests run faster!
Note on implementation:
This PR has a large diff because it touches almost all the matchers, but the changes are mostly trivial. In almost every case, I've simply moved the content of
const passMessage
andconst failMessage
into inside themessage
function.The only matchers with any more complex changes than this are:
toBeArrayOfSize
- reformatted for consistency with the resttoEqualIgnoringWhitespace
- create diff only if required, extra test to maintain 100% coveragetoHaveBeenCalledOnceWith
- 3 different messagestoThrowWithMessage
- createexpectedError
only if requiredI hope this info makes it less onerous to review this PR.
Notes
Housekeeping