navapbc / template-application-nextjs

Next.js, TypeScript, USWDS, and Storybook template, including CI/CD, for teams at Nava building web applications
Apache License 2.0
10 stars 2 forks source link

chore(deps): update jest (major) #316

Closed renovate[bot] closed 2 months ago

renovate[bot] commented 2 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@testing-library/dom ^9.0.1 -> ^10.0.0 age adoption passing confidence
@testing-library/react ^14.0.0 -> ^15.0.0 age adoption passing confidence
eslint-plugin-jest ^27.2.1 -> ^28.0.0 age adoption passing confidence

Release Notes

testing-library/dom-testing-library (@​testing-library/dom) ### [`v10.0.0`](https://togithub.com/testing-library/dom-testing-library/releases/tag/v10.0.0) [Compare Source](https://togithub.com/testing-library/dom-testing-library/compare/v9.3.4...v10.0.0) ##### Bug Fixes - use defineProperty on the error object instead of setting the message directly ([#​1268](https://togithub.com/testing-library/dom-testing-library/issues/1268)) ([3580f25](https://togithub.com/testing-library/dom-testing-library/commit/3580f25bd765cedb70889b2cf716085023d8c314)), closes [#​1259](https://togithub.com/testing-library/dom-testing-library/issues/1259) ##### Features - Drop support for Node.js 14.x and Node.js 16.x and add support for Node 20.x ([#​1255](https://togithub.com/testing-library/dom-testing-library/issues/1255)) ([452097b](https://togithub.com/testing-library/dom-testing-library/commit/452097b35a207341f5328b997dfc901461a4e9d9)) - upgrade aria-query to 5.3.0 ([#​1241](https://togithub.com/testing-library/dom-testing-library/issues/1241)) ([2c57055](https://togithub.com/testing-library/dom-testing-library/commit/2c570553d8f31b008451398152a9bd30bce362b3)), closes [#​1240](https://togithub.com/testing-library/dom-testing-library/issues/1240) ##### BREAKING CHANGES - Minimum supported Node.js version is 18.0 - New version of `aria-query` changes various roles. Check out the changed tests in [`2c57055`](https://togithub.com/testing-library/dom-testing-library/commit/2c57055) to get an overview about what changed.
testing-library/react-testing-library (@​testing-library/react) ### [`v15.0.5`](https://togithub.com/testing-library/react-testing-library/compare/v15.0.4...f6a1677501b53471f6a989078726aeb0dea114be) [Compare Source](https://togithub.com/testing-library/react-testing-library/compare/v15.0.4...f6a1677501b53471f6a989078726aeb0dea114be) ### [`v15.0.4`](https://togithub.com/testing-library/react-testing-library/compare/v15.0.3...48282c2f35fb7338834b40983c12b889af35f5d1) [Compare Source](https://togithub.com/testing-library/react-testing-library/compare/v15.0.3...v15.0.4) ### [`v15.0.3`](https://togithub.com/testing-library/react-testing-library/releases/tag/v15.0.3) [Compare Source](https://togithub.com/testing-library/react-testing-library/compare/v15.0.2...v15.0.3) ##### Bug Fixes - Don't raise TypeScript errors when hydating `document` ([#​1304](https://togithub.com/testing-library/react-testing-library/issues/1304)) ([067d0c6](https://togithub.com/testing-library/react-testing-library/commit/067d0c6d2e87092f6ecaa8c9fcf505e4576055cf)) ### [`v15.0.2`](https://togithub.com/testing-library/react-testing-library/compare/v15.0.1...c63b873072d62c858959c2a19e68f8e2cc0b11be) [Compare Source](https://togithub.com/testing-library/react-testing-library/compare/v15.0.1...v15.0.2) ### [`v15.0.1`](https://togithub.com/testing-library/react-testing-library/compare/v15.0.0...1645d21950ab8e3c6740b7e51b8a179a4c975c24) [Compare Source](https://togithub.com/testing-library/react-testing-library/compare/v15.0.0...v15.0.1) ### [`v15.0.0`](https://togithub.com/testing-library/react-testing-library/compare/v14.3.0...787cb85f8baa3d2e2a9916b7dad12c0a76d787a4) [Compare Source](https://togithub.com/testing-library/react-testing-library/compare/v14.3.1...v15.0.0)
jest-community/eslint-plugin-jest (eslint-plugin-jest) ### [`v28.2.0`](https://togithub.com/jest-community/eslint-plugin-jest/blob/HEAD/CHANGELOG.md#2820-2024-04-06) [Compare Source](https://togithub.com/jest-community/eslint-plugin-jest/compare/v28.1.1...v28.2.0) ##### Features - support providing aliases for `@jest/globals` package ([#​1543](https://togithub.com/jest-community/eslint-plugin-jest/issues/1543)) ([744d4f6](https://togithub.com/jest-community/eslint-plugin-jest/commit/744d4f6fa5685e0c87062cc867ecadbad9b2e06c)) #### [28.1.1](https://togithub.com/jest-community/eslint-plugin-jest/compare/v28.1.0...v28.1.1) (2024-04-06) ##### Bug Fixes - **max-expects:** properly reset counter when exiting a test case ([#​1550](https://togithub.com/jest-community/eslint-plugin-jest/issues/1550)) ([b4b7cbc](https://togithub.com/jest-community/eslint-plugin-jest/commit/b4b7cbc6195b47ba032fcf9ef1443de6b851d42b)) ### [`v28.1.1`](https://togithub.com/jest-community/eslint-plugin-jest/blob/HEAD/CHANGELOG.md#2811-2024-04-06) [Compare Source](https://togithub.com/jest-community/eslint-plugin-jest/compare/v28.1.0...v28.1.1) ##### Bug Fixes - **max-expects:** properly reset counter when exiting a test case ([#​1550](https://togithub.com/jest-community/eslint-plugin-jest/issues/1550)) ([b4b7cbc](https://togithub.com/jest-community/eslint-plugin-jest/commit/b4b7cbc6195b47ba032fcf9ef1443de6b851d42b)) ### [`v28.1.0`](https://togithub.com/jest-community/eslint-plugin-jest/blob/HEAD/CHANGELOG.md#2810-2024-04-06) [Compare Source](https://togithub.com/jest-community/eslint-plugin-jest/compare/v28.0.0...v28.1.0) ##### Features - add `prefer-importing-jest-globals` rule ([#​1490](https://togithub.com/jest-community/eslint-plugin-jest/issues/1490)) ([37478d8](https://togithub.com/jest-community/eslint-plugin-jest/commit/37478d860eb15841f2ab73bb3fb6d94f51841638)), closes [#​1101](https://togithub.com/jest-community/eslint-plugin-jest/issues/1101) ### [`v28.0.0`](https://togithub.com/jest-community/eslint-plugin-jest/blob/HEAD/CHANGELOG.md#2800-2024-04-06) [Compare Source](https://togithub.com/jest-community/eslint-plugin-jest/compare/v27.9.0...v28.0.0) ##### Bug Fixes - allow ESLint 9 as peer dependency ([#​1547](https://togithub.com/jest-community/eslint-plugin-jest/issues/1547)) ([3c5e167](https://togithub.com/jest-community/eslint-plugin-jest/commit/3c5e1673afd02dc2c9b90d259c0452326715ae6c)) - drop support for Node 19 ([#​1548](https://togithub.com/jest-community/eslint-plugin-jest/issues/1548)) ([c87e388](https://togithub.com/jest-community/eslint-plugin-jest/commit/c87e3887e736c40d1460af9cdbdffe30f79fdaea)) - **no-large-snapshots:** avoid `instanceof RegExp` check for ESLint v9 compatibility ([#​1542](https://togithub.com/jest-community/eslint-plugin-jest/issues/1542)) ([af4a9c9](https://togithub.com/jest-community/eslint-plugin-jest/commit/af4a9c94d624b5db4643c994f5bec96b0cb889b8)) ##### Features - drop support for `@typescript-eslint/eslint-plugin` v5 ([#​1530](https://togithub.com/jest-community/eslint-plugin-jest/issues/1530)) ([150e355](https://togithub.com/jest-community/eslint-plugin-jest/commit/150e3558a637b49ddd76d362f88332b30f78dc5c)) - drop support for Node v14 ([#​1527](https://togithub.com/jest-community/eslint-plugin-jest/issues/1527)) ([df5e580](https://togithub.com/jest-community/eslint-plugin-jest/commit/df5e58081d1bd15fbed8bd22f6c03d5f350d73b6)) - remove `no-if` rule ([#​1528](https://togithub.com/jest-community/eslint-plugin-jest/issues/1528)) ([f976fc8](https://togithub.com/jest-community/eslint-plugin-jest/commit/f976fc8c71fc5e9f55cd5ae09092f15ee277fd2c)) - remove `snapshot` processor and `flat/snapshot` config ([#​1532](https://togithub.com/jest-community/eslint-plugin-jest/issues/1532)) ([98087f9](https://togithub.com/jest-community/eslint-plugin-jest/commit/98087f9bb27082f9fbda59a56c65536fb9d8a0dc)) - upgrade `@typescript-eslint/utils` to v6 ([#​1508](https://togithub.com/jest-community/eslint-plugin-jest/issues/1508)) ([dc6e8cd](https://togithub.com/jest-community/eslint-plugin-jest/commit/dc6e8cd249817de585b50e473c2146e1542dd146)) ##### 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`

Configuration

πŸ“… Schedule: Branch creation - "before 4am on the first day of the month" in timezone America/Los_Angeles, 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 if that's undesired.



This PR has been generated by Mend Renovate. View repository job log here.

sawyerh commented 2 months ago

Blocked by https://github.com/testing-library/eslint-plugin-jest-dom/issues/359

github-actions[bot] commented 2 months ago

Coverage report for app

St.:grey_question:
Category Percentage Covered / Total
🟒 Statements 93.1% 81/87
🟒 Branches 82.35% 14/17
🟒 Functions 93.33% 14/15
🟒 Lines 93.59% 73/78

Test suite run success

16 tests passing in 5 suites.

Report generated by πŸ§ͺjest coverage report action from cb2d83cd14c8c5538d5e5e97235b573559bfadfa