Skip to content
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

Update jest to v28 (major) #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update jest to v28 (major) #16

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 31, 2022

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@types/jest (source) 28.1.3 -> 28.1.8 age adoption passing confidence
eslint-plugin-jest 26.9.0 -> 28.9.0 age adoption passing confidence
jest (source) 28.1.1 -> 28.1.3 age adoption passing confidence
ts-jest (source) 28.0.5 -> 28.0.8 age adoption passing confidence

Release Notes

jest-community/eslint-plugin-jest (eslint-plugin-jest)

v28.9.0

Compare Source

Features

28.8.3 (2024-09-04)

Bug Fixes
  • prefer-importing-jest-globals: don't add imports in the middle of statements (#​1645) (9c4197c)

28.8.2 (2024-09-02)

Performance Improvements
  • prefer-importing-jest-globals: stop collecting import specifiers for no reason (#​1646) (0660242)

28.8.1 (2024-08-29)

Bug Fixes
  • prefer-importing-jest-globals: support typescript-eslint parser (#​1639) (307f6a7)

v28.8.3

Compare Source

Bug Fixes
  • prefer-importing-jest-globals: don't add imports in the middle of statements (#​1645) (9c4197c)

v28.8.2

Compare Source

Performance Improvements
  • prefer-importing-jest-globals: stop collecting import specifiers for no reason (#​1646) (0660242)

v28.8.1

Compare Source

Bug Fixes
  • prefer-importing-jest-globals: support typescript-eslint parser (#​1639) (307f6a7)

v28.8.0

Compare Source

Features
  • import formatting rules from eslint-plugin-jest-formatting (#​1563) (74078ee)

v28.7.0

Compare Source

Features
  • allow [@typescript-eslint](https://redirect.github.com/typescript-eslint) v8 (#​1636) (fb43171)

v28.6.0

Compare Source

Features

v28.5.0

Compare Source

Features
  • allow @typescript-eslint/utils v7 as a direct dependency (#​1567) (1476f10)

v28.4.0

Compare Source

Features
  • valid-expect: supporting automatically fixing missing await in some cases (#​1574) (a407098)

v28.3.0

Compare Source

Features

v28.2.0

Compare Source

Features

28.1.1 (2024-04-06)

Bug Fixes
  • max-expects: properly reset counter when exiting a test case (#​1550) (b4b7cbc)

v28.1.1

Compare Source

Bug Fixes
  • max-expects: properly reset counter when exiting a test case (#​1550) (b4b7cbc)

v28.1.0

Compare Source

Features

v28.0.0

Compare Source

Bug Fixes
Features
BREAKING CHANGES
  • Node v19 is no longer supported
  • removed unneeded snapshot processor and flat/snapshot config
  • dropped support for @typescript-eslint/eslint-plugin v5
  • dropped support for Node v14
  • removed no-if in favor of no-conditional-in-test

v27.9.0

Compare Source

Features

v27.8.0

Compare Source

Features

v27.7.0

Compare Source

Features
  • allow [@typescript-eslint](https://redirect.github.com/typescript-eslint) v7 (#​1500) (6be2928)

27.6.3 (2024-01-12)

Bug Fixes

27.6.2 (2024-01-10)

Reverts

27.6.1 (2024-01-01)

Bug Fixes
  • include plugin meta information with snapshot processor for ESLint v9 (#​1484) (067e246)

v27.6.3

Compare Source

Bug Fixes

v27.6.2

Compare Source

Reverts

v27.6.1

Compare Source

Bug Fixes
  • include plugin meta information with snapshot processor for ESLint v9 (#​1484) (067e246)

v27.6.0

Compare Source

Features

v27.5.0

Compare Source

Features
  • valid-title: allow ignoring tests with non-string titles (#​1460) (ea89da9)

27.4.3 (2023-10-20)

Bug Fixes

27.4.2 (2023-09-29)

Bug Fixes

27.4.1 (2023-09-29)

Bug Fixes
  • no-focused-tests: make reporting location consistent (#​1443) (a871775)

v27.4.3

Compare Source

Bug Fixes

v27.4.2

Compare Source

Bug Fixes

v27.4.1

Compare Source

Bug Fixes
  • no-focused-tests: make reporting location consistent (#​1443) (a871775)

v27.4.0

Compare Source

Features
  • valid-title: support ignoring leading and trailing whitespace (#​1433) (bc96473)

v27.3.0

Compare Source

Features

27.2.3 (2023-07-13)

Bug Fixes

27.2.2 (2023-06-19)

Bug Fixes

27.2.1 (2023-01-06)

Bug Fixes

v27.2.3

Compare Source

Bug Fixes

v27.2.2

Compare Source

Bug Fixes

v27.2.1

Compare Source

Bug Fixes

v27.2.0

Compare Source

Features

27.1.7 (2022-12-15)

Bug Fixes

27.1.6 (2022-11-24)

Bug Fixes
  • ensure rule fixes produce valid code when function params and args have trailing commas (#​1282) (8eca0b7)

27.1.5 (2022-11-10)

Performance Improvements
  • use Set instead of iterating, and deduplicate a function (#​1278) (0e048f1)

27.1.4 (2022-11-04)

Performance Improvements
  • don't collect more info than needed when resolving jest functions (#​1275) (e4a5674)

27.1.3 (2022-10-18)

Bug Fixes

27.1.2 (2022-10-14)

Bug Fixes
  • valid-expect-in-promise: adjust grammar in rule message (#​1264) (4494ed2)

27.1.1 (2022-10-05)

Bug Fixes

v27.1.7

Compare Source

Bug Fixes

v27.1.6

Compare Source

Bug Fixes
  • ensure rule fixes produce valid code when function params and args have trailing commas (#​1282) (8eca0b7)

v27.1.5

Compare Source

Performance Improvements
  • use Set instead of iterating, and deduplicate a function (#​1278) (0e048f1)

v27.1.4

Compare Source

Performance Improvements
  • don't collect more info than needed when resolving jest functions (#​1275) (e4a5674)

v27.1.3

Compare Source

Bug Fixes

v27.1.2

Compare Source

Bug Fixes
  • valid-expect-in-promise: adjust grammar in rule message (#​1264) (4494ed2)

v27.1.1

Compare Source

Bug Fixes

v27.1.0

Compare Source

Features

27.0.4 (2022-09-10)

Bug Fixes

27.0.3 (2022-09-09)

Bug Fixes

27.0.2 (2022-09-08)

Bug Fixes
  • no-restricted-matchers: improve check to not be solely based on the start of the matcher chain (#​1236) (5fe4568), closes #​1235

27.0.1 (2022-08-28)

Bug Fixes
  • prefer-expect-assertions: report on concise arrow functions with expect call (#​1225) (64ec9c1)

v27.0.4

Compare Source

Bug Fixes

v27.0.3

Compare Source

Bug Fixes

v27.0.2

Compare Source

Bug Fixes
  • no-restricted-matchers: improve check to not be solely based on the start of the matcher chain (#​1236) (5fe4568), closes #​1235

v27.0.1

Compare Source

Bug Fixes
  • prefer-expect-assertions: report on concise arrow functions with expect call (#​1225) (64ec9c1)

v27.0.0

Compare Source

Bug Fixes
  • unbound-method: don't suppress errors from base rule (#​1219) (7c1389e)
Features
BREAKING CHANGES
  • no-alias-methods is now recommended as the methods themselves will be removed in the next major version of Jest
  • no-jest-import: removed no-jest-import rule
  • unbound-method: errors thrown by the unbound-method base rule are no longer suppressed - really this means that if you don't specify project when this rule is enabled and @typescript-eslint/eslint-plugin is present, that error will no longer be suppressed instead of silently doing nothing; it will still not throw if this rule is enabled without the base rule being present
  • no-restricted-matchers: no-restricted-matchers now checks against the start of the expect chain, meaning you have to explicitly list each possible matcher & modifier permutations that you want to restrict
  • Support for ESLint version 6 is removed
  • Node versions 12 and 17 are no longer supported

v26.9.0

Compare Source

Features

26.8.7 (2022-08-21)

Bug Fixes
  • prefer-expect-assertions: report on concise arrow functions (#​1207) (f928747)

26.8.6 (2022-08-21)

Bug Fixes
  • max-expect: reset expect counter when entering and exiting test function calls (#​1206) (3908ab8)

26.8.5 (2022-08-20)

Bug Fixes
  • prefer-expect-assertions: use scoped based jest fn call parser for expect checks (#​1201) (fd54ca1)

26.8.4 (2022-08-19)

Bug Fixes
  • prefer-mock-promise-shorthand: ignore mockImplementation functions that have parameters (#​1199) (78ccbef)

26.8.3 (2022-08-15)

Performance Improvements

26.8.2 (2022-08-09)

Bug Fixes
  • max-expects: don't count expect.<member>() calls towards max (#​1194) (75a0ff2)

26.8.1 (2022-08-08)

Bug Fixes
  • no-standalone-expect: only report on expect.hasAssertions & expect.assertions member calls (#​1191) (4bf9eea)

v26.8.7

Compare Source

Bug Fixes
  • prefer-expect-assertions: report on concise arrow functions (#​1207) (f928747)

v26.8.6

Compare Source

Bug Fixes
  • max-expect: reset expect counter when entering and exiting test function calls (#​1206) (3908ab8)

v26.8.5

Compare Source

Bug Fixes
  • prefer-expect-assertions: use scoped based jest fn call parser for expect checks (#​1201) (fd54ca1)

v26.8.4

Compare Source

Bug Fixes
  • prefer-mock-promise-shorthand: ignore mockImplementation functions that have parameters (#​1199) (78ccbef)

v26.8.3

Compare Source

Performance Improvements

v26.8.2

Compare Source

Bug Fixes
  • max-expects: don't count expect.<member>() calls towards max (#​1194) (75a0ff2)

v26.8.1

Compare Source

Bug Fixes
  • no-standalone-expect: only report on expect.hasAssertions & expect.assertions member calls (#​1191) (4bf9eea)

v26.8.0

Compare Source

Features

v26.7.0

Compare Source

Features

v26.6.0

Compare Source

Features

26.5.3 (2022-06-06)

Bug Fixes
  • prefer-equality-matcher: handle resolves and rejects modifiers correctly (#​1146) (0fad4df)

26.5.2 (2022-06-06)

Bug Fixes
  • prefer-comparison-matcher: handle resolves and rejects modifiers correctly (#​1145) (b1795ff)

26.5.1 (2022-06-05)

Bug Fixes
  • prefer-called-with: handle resolves and rejects modifiers correctly (#​1143) (dff1cb4)

v26.5.3

Compare Source

Bug Fixes
  • prefer-equality-matcher: handle resolves and rejects modifiers correctly (#​1146) (0fad4df)

v26.5.2

Compare Source

Bug Fixes
  • prefer-comparison-matcher: handle resolves and rejects modifiers correctly (#​1145) (b1795ff)

v26.5.1

Compare Source

Bug Fixes
  • prefer-called-with: handle resolves and rejects modifiers correctly (#​1143) (dff1cb4)

v26.5.0

Compare Source

Features

26.4.7 (2022-06-04)

Bug Fixes
  • no-restricted-matchers: allow restricting negated resolves and rejects modifiers (#​1142) (0950a96)

26.4.6 (2022-05-30)

Bug Fixes
  • no-disabled-tests: don't report on it.todo & test.todo (#​1137) (b651443)

26.4.5 (2022-05-29)

Bug Fixes
  • expect-expect: include numbers when matching assert function names with wildcards (#​1134) (2d0ef11)

26.4.4 (2022-05-29)

Bug Fixes
  • don't consider template tags in the middle of a possible jest function chain to be valid (#​1133) (430de17)

26.4.3 (2022-05-29)

Bug Fixes
  • don't consider method calls on literals or new to be jest functions (#​1132) (379ceb3)
  • produce valid code when when fixing properties accessed with square brackets (#​1131) (6cd600d)

26.4.2 (2022-05-28)

Bug Fixes
  • don't consider concurrent.skip and concurrent.only valid test functions (#​1124) (0aa5eb6)
  • no-disabled-tests: use jest function call parser for checking number of args (#​1126) (b67e389)

26.4.1 (2022-05-28)

Bug Fixes

v26.4.7

Compare Source

Bug Fixes
  • no-restricted-matchers: allow restricting negated resolves and rejects modifiers (#​1142) (0950a96)

v26.4.6

Compare Source

Bug Fixes
  • no-disabled-tests: don't report on it.todo & test.todo (#​1137) (b651443)

v26.4.5

Compare Source

Bug Fixes

Configuration

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

🚦 Automerge: Disabled because a matching PR was automerged previously.

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

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


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Dependency updates label Aug 31, 2022
@renovate renovate bot requested a review from sgarner August 31, 2022 23:26
@renovate
Copy link
Contributor Author

renovate bot commented Aug 31, 2022

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/vue
npm ERR!   dev vue@"2.6.14" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer vue@"^3.0.1" from @vue/[email protected]
npm ERR! node_modules/@vue/test-utils
npm ERR!   dev @vue/test-utils@"2.0.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /tmp/renovate/cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/renovate/cache/others/npm/_logs/2024-05-06T19_40_26_012Z-debug-0.log

@renovate renovate bot force-pushed the renovate/major-jest branch 3 times, most recently from 2cdcb39 to 4de33a3 Compare September 10, 2022 14:52
@renovate renovate bot force-pushed the renovate/major-jest branch 2 times, most recently from 1447933 to 654eb6c Compare October 5, 2022 19:49
@renovate renovate bot force-pushed the renovate/major-jest branch 2 times, most recently from a8195ad to 0f3d148 Compare October 18, 2022 21:33
@renovate renovate bot force-pushed the renovate/major-jest branch 3 times, most recently from e797d84 to 85579c9 Compare October 29, 2023 22:52
@renovate renovate bot force-pushed the renovate/major-jest branch 2 times, most recently from 32e34ea to 25ef6f9 Compare January 15, 2024 18:20
@renovate renovate bot force-pushed the renovate/major-jest branch 2 times, most recently from e195f24 to 111f64a Compare February 19, 2024 19:44
@renovate renovate bot changed the title Update jest (major) Update jest to v28 (major) Apr 9, 2024
@renovate renovate bot force-pushed the renovate/major-jest branch 2 times, most recently from 3ff923e to 81a52e0 Compare April 10, 2024 04:27
@renovate renovate bot force-pushed the renovate/major-jest branch 3 times, most recently from b756d28 to 12d5e49 Compare May 6, 2024 19:40
Copy link
Contributor Author

renovate bot commented Jun 9, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/vue
npm ERR!   dev vue@"2.6.14" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer vue@"^3.0.1" from @vue/[email protected]
npm ERR! node_modules/@vue/test-utils
npm ERR!   dev @vue/test-utils@"2.0.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /tmp/renovate/cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/renovate/cache/others/npm/_logs/2024-11-08T22_27_07_109Z-debug-0.log

@renovate renovate bot force-pushed the renovate/major-jest branch 2 times, most recently from cd4a119 to 1d59836 Compare August 10, 2024 22:31
@renovate renovate bot force-pushed the renovate/major-jest branch 3 times, most recently from 1692d1e to b44c319 Compare September 7, 2024 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Dependency updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants