Skip to content

chore(deps): update dependency eslint-plugin-jest to v26 - autoclosed

Botaniker (Bot) requested to merge renovate/eslint-plugin-jest-26.x into deploy

This MR contains the following updates:

Package Type Update Change
eslint-plugin-jest devDependencies major 24.7.0 -> 26.8.7

Release Notes

jest-community/eslint-plugin-jest

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
  • expect-expect: include numbers when matching assert function names with wildcards (#​1134) (2d0ef11)

v26.4.4

Compare Source

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

v26.4.3

Compare Source

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)

v26.4.2

Compare Source

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)

v26.4.1

Compare Source

Bug Fixes

v26.4.0

Compare Source

Features
  • improve how jest function calls are resolved to account for import aliases (#​1122) (781f00e)

v26.3.0

Compare Source

Features

26.2.2 (2022-05-14)

Bug Fixes
  • use the last reference definition when checking jest fn scope (#​1109) (1b2b9c1)

26.2.1 (2022-05-14)

Bug Fixes

v26.2.2

Compare Source

Bug Fixes
  • use the last reference definition when checking jest fn scope (#​1109) (1b2b9c1)

v26.2.1

Compare Source

Bug Fixes

v26.2.0

Compare Source

Features

26.1.5 (2022-04-22)

Bug Fixes
  • prefer-expect-assertions: properly handle checking across multiple tests (#​1089) (8b61b0c)

26.1.4 (2022-04-08)

Bug Fixes
  • prefer-snapshot-hint: don't report multi snapshots in different tests within the same describe (#​1078) (98e5166)

26.1.3 (2022-03-24)

Bug Fixes

26.1.2 (2022-03-19)

Bug Fixes
  • prefer-snapshot-hint: support passing hint to toMatchSnapshot as first argument (#​1070) (97b1f9d)

26.1.1 (2022-02-15)

Bug Fixes

v26.1.5

Compare Source

Bug Fixes
  • prefer-expect-assertions: properly handle checking across multiple tests (#​1089) (8b61b0c)

v26.1.4

Compare Source

Bug Fixes
  • prefer-snapshot-hint: don't report multi snapshots in different tests within the same describe (#​1078) (98e5166)

v26.1.3

Compare Source

Bug Fixes

v26.1.2

Compare Source

Bug Fixes
  • prefer-snapshot-hint: support passing hint to toMatchSnapshot as first argument (#​1070) (97b1f9d)

v26.1.1

Compare Source

Bug Fixes

v26.1.0

Compare Source

Features

v26.0.0

Compare Source

Bug Fixes
BREAKING CHANGES
  • Drop support for @typescript-eslint/eslint-plugin@4

v25.7.0

Compare Source

Features
  • create prefer-equality-matcher rule (#​1016) (341353b)
  • valid-expect: support asyncMatchers option and default to jest-extended matchers (#​1018) (c82205a)

v25.6.0

Compare Source

Features

v25.5.0

Compare Source

Features
  • prefer-expect-assertions: support requiring only if expect is used in a callback (#​1028) (8d5fd33)

v25.4.0

Compare Source

Features
  • prefer-expect-assertions: support requiring only if expect is used in a loop (#​1013) (e6f4f8a)

25.3.4 (2022-01-01)

Bug Fixes
  • prefer-lowercase-title: ignore it and test separately (#​1011) (f1a7674)

25.3.3 (2021-12-30)

Bug Fixes
  • prefer-to-contain: support square bracket accessors (#​1009) (73984a7)
  • prefer-to-have-length: support square bracket accessors (#​1010) (9e70f55)

25.3.2 (2021-12-27)

Bug Fixes
  • no-large-snapshots: only count size of template string for inline snapshots (#​1005) (5bea38f)
  • prefer-hooks-on-top: improve message & docs (#​999) (f9e7ae2)

25.3.1 (2021-12-27)

Bug Fixes

v25.3.4

Compare Source

Bug Fixes
  • prefer-lowercase-title: ignore it and test separately (#​1011) (f1a7674)

v25.3.3

Compare Source

Bug Fixes
  • prefer-to-contain: support square bracket accessors (#​1009) (73984a7)
  • prefer-to-have-length: support square bracket accessors (#​1010) (9e70f55)

v25.3.2

Compare Source

Bug Fixes
  • no-large-snapshots: only count size of template string for inline snapshots (#​1005) (5bea38f)
  • prefer-hooks-on-top: improve message & docs (#​999) (f9e7ae2)

v25.3.1

Compare Source

Bug Fixes

v25.3.0

Compare Source

Features

25.2.4 (2021-11-08)

Bug Fixes
  • prefer-to-be: preserve resolves and rejects modifiers (#​980) (a1296bd)

25.2.3 (2021-11-04)

Bug Fixes
  • no-deprecated-functions: mark jest as an optional peer dependency (#​970) (f468752)

25.2.2 (2021-10-17)

Bug Fixes
  • require-hook: check variables are either const or declarations (#​959) (ce8cd61)

25.2.1 (2021-10-15)

Bug Fixes
  • expect-expect: don't error on it.todo & test.todo calls (#​954) (d3cc0db)

v25.2.4

Compare Source

Bug Fixes
  • prefer-to-be: preserve resolves and rejects modifiers (#​980) (a1296bd)

v25.2.3

Compare Source

Bug Fixes
  • no-deprecated-functions: mark jest as an optional peer dependency (#​970) (f468752)

v25.2.2

Compare Source

Bug Fixes
  • require-hook: check variables are either const or declarations (#​959) (ce8cd61)

v25.2.1

Compare Source

Bug Fixes
  • expect-expect: don't error on it.todo & test.todo calls (#​954) (d3cc0db)

v25.2.0

Compare Source

Features
  • expect-expect: support additionalTestBlockFunctions option (#​850) (3b94c62)

v25.1.0

Compare Source

Features

25.0.6 (2021-10-14)

Bug Fixes

25.0.5 (2021-10-11)

Bug Fixes

25.0.4 (2021-10-11)

Bug Fixes
  • update @typescript-eslint/experimental-utils to v5 (#​941) (afad49a)

25.0.3 (2021-10-11)

Bug Fixes
  • valid-expect-in-promise: support awaited promises in arguments (#​936) (bd2c33c)

25.0.2 (2021-10-11)

Bug Fixes
  • valid-expect-in-promise: support out of order awaits (#​939) (07d2137)

25.0.1 (2021-10-10)

Bug Fixes
  • specify peer dependency ranges correctly (cb87458)

v25.0.6

Compare Source

Bug Fixes

v25.0.5

Compare Source

Bug Fixes

v25.0.4

Compare Source

Bug Fixes
  • update @typescript-eslint/experimental-utils to v5 (#​941) (afad49a)

v25.0.3

Compare Source

Bug Fixes
  • valid-expect-in-promise: support awaited promises in arguments (#​936) (bd2c33c)

v25.0.2

Compare Source

Bug Fixes
  • valid-expect-in-promise: support out of order awaits (#​939) (07d2137)

v25.0.1

Compare Source

Bug Fixes
  • specify peer dependency ranges correctly (cb87458)

v25.0.0

Compare Source

Bug Fixes
Features
  • add prefer-to-be to style ruleset (2a3376f)
  • lowercase-name: rename to prefer-lowercase-title (b860084)
  • prefer-to-be-null: remove rule (809bcda)
  • prefer-to-be-undefined: remove rule (3434d9b)
  • remove deprecated rules (#​661) (e8f16ec)
  • valid-describe: rename to valid-describe-callback (f3e9e9a)
BREAKING CHANGES
  • valid-describe: renamed valid-describe to valid-describe-callback
  • lowercase-name: renamed lowercase-name to prefer-lowercase-title
  • prefer-to-be-undefined: removed prefer-to-be-undefined rule
  • prefer-to-be-null: removed prefer-to-be-null rule
  • recommend prefer-to-be rule
  • Removes rules no-expect-resolves, no-truthy-falsy, no-try-expect, and prefer-inline-snapshots
  • Drop support for ESLint 5
  • Drop support for Node 10 and 15

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 MR becomes conflicted, or you tick the rebase/retry checkbox.

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


  • If you want to rebase/retry this MR, click this checkbox.

This MR has been generated by Renovate Bot. The local configuration can be found in the SI Renovate Bot repository.

Edited by Botaniker (Bot)

Merge request reports

Loading