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 testing-library monorepo (major) #453

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 16, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@testing-library/jest-dom 5.17.0 -> 6.6.3 age adoption passing confidence
@testing-library/react 14.3.1 -> 16.0.1 age adoption passing confidence

Release Notes

testing-library/jest-dom (@​testing-library/jest-dom)

v6.6.3

Compare Source

v6.6.2

Compare Source

Bug Fixes

v6.6.1

Compare Source

v6.6.0

Compare Source

v6.5.0

Compare Source

v6.4.8

Compare Source

v6.4.7

Compare Source

v6.4.6

Compare Source

Bug Fixes

v6.4.5

Compare Source

Bug Fixes

v6.4.4

Compare Source

v6.4.3

Compare Source

v6.4.2

Compare Source

Bug Fixes
  • Remove errant export of GetByRoleMatcher, fixing type checking in some TS configurations (#​575) (a93c0c4)

v6.4.1

Compare Source

Bug Fixes
  • Export type TestingLibraryMatchers from "./matchers" (#​576) (dd1c4dd)

v6.4.0

Compare Source

Features

v6.3.0

Compare Source

Features

v6.2.1

Compare Source

Bug Fixes
  • Standalone types for "./matchers" export and add Bun support (#​566) (5675b86)

v6.2.0

Compare Source

Features
  • toHaveAccessibleDescription supports aria-description (#​565) (1fb156c)

v6.1.6

Compare Source

Bug Fixes

v6.1.5

Compare Source

Bug Fixes

v6.1.4

Compare Source

Bug Fixes
  • upgrade @adobe/css-tools to 4.3.1 to address vulnerability (#​532) (44f1eab)

v6.1.3

Compare Source

Bug Fixes

v6.1.2

Compare Source

Bug Fixes

v6.1.1

Compare Source

Bug Fixes

v6.1.0

Compare Source

Features

v6.0.1

Compare Source

Bug Fixes
  • matchers type is making the global expect unsafe (#​513) (bdb34f1)

v6.0.0

Compare Source

Features
BREAKING CHANGES
  • Removes the extend-expect script. Users should use
    the default import path or one of the new test platform-specific
    paths to automatically extend the appropriate "expect" instance.

extend-expect was not documented in the Readme, so this change should
have minimal impact.

Users can now use the following import paths to automatically extend
"expect" for their chosen test platform:

For example:

import '@​testing-library/jest-dom/jest-globals'

Importing from one of the above paths will augment the appropriate
matcher interface for the given test platform, assuming the import
is done in a .ts file that is included in the user's tsconfig.json.

It's also (still) possible to import the matchers directly without
side effects:

import * as matchers from '@​testing-library/jest-dom/matchers'

  • Update kcd-scripts
  • Drop node < 14
testing-library/react-testing-library (@​testing-library/react)

v16.0.1

Compare Source

v16.0.0

Compare Source

Features
  • Move @testing-library/dom and @types/react-dom to peer dependencies (#​1305) (a4744fa)
BREAKING CHANGES
  • @testing-library/dom was moved to a peer dependency and needs to be explicitly installed. This reduces the chance of having conflicting versions of @testing-library/dom installed that frequently caused bugs when used with @testing-library/user-event. We will also be able to allow new versions of @testing-library/dom being used without a SemVer major release of @testing-library/react by just widening the peer dependency.
    @types/react-dom needs to be installed if you're typechecking files using @testing-library/react.

v15.0.7

Compare Source

v15.0.6

Compare Source

v15.0.5

Compare Source

v15.0.4

Compare Source

v15.0.3

Compare Source

Bug Fixes
  • Don't raise TypeScript errors when hydating document (#​1304) (067d0c6)

v15.0.2

Compare Source

v15.0.1

Compare Source

v15.0.0

Compare Source


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 if that's undesired.


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

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

Copy link

codesandbox bot commented Apr 16, 2024

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link

changeset-bot bot commented Apr 16, 2024

⚠️ No Changeset found

Latest commit: 3a31a6e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

socket-security bot commented Apr 16, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@testing-library/jest-dom@6.6.3 None +10 2.39 MB brrianalexis, cmckinstry, dfcook, ...13 more
npm/@testing-library/react@16.0.1 environment Transitive: eval +10 3.78 MB testing-library-bot

🚮 Removed packages: npm/@testing-library/jest-dom@5.17.0, npm/@testing-library/react@14.3.1

View full report↗︎

@renovate renovate bot force-pushed the renovate/major-testing-library-monorepo branch 3 times, most recently from d51f613 to dcd63b6 Compare April 23, 2024 18:12
@renovate renovate bot force-pushed the renovate/major-testing-library-monorepo branch 3 times, most recently from 0574567 to 4d90c9b Compare May 3, 2024 06:34
@renovate renovate bot force-pushed the renovate/major-testing-library-monorepo branch 4 times, most recently from bb2494b to 25b5670 Compare May 7, 2024 13:04
@renovate renovate bot force-pushed the renovate/major-testing-library-monorepo branch from 25b5670 to 1eeb818 Compare May 28, 2024 09:33
Copy link

coderabbitai bot commented May 28, 2024

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Walkthrough

The changes involve updates to the devDependencies in the package.json file of the redux-app. The versions of two testing libraries, @testing-library/jest-dom and @testing-library/react, have been upgraded to newer releases. This update reflects a maintenance effort to ensure the application utilizes the latest versions of these libraries.

Changes

File Path Change Summary
apps/redux-app/package.json Updated @testing-library/jest-dom from 5.17.0 to 6.5.0 and @testing-library/react from 14.3.1 to 16.0.1.

Sequence Diagram(s)

(No sequence diagram generated as the changes do not involve new features or modifications to control flow.)

Poem

In the meadow where bunnies play,
New tools arrive to brighten the day!
Testing libraries, fresh and bright,
Hop along, bringing delight!
With every update, we cheer and sing,
For smoother testing, oh what joy you bring! 🐇✨


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@renovate renovate bot force-pushed the renovate/major-testing-library-monorepo branch 2 times, most recently from 09cc540 to 2d8665d Compare June 3, 2024 17:05
@renovate renovate bot force-pushed the renovate/major-testing-library-monorepo branch from 2d8665d to 7276e1f Compare June 10, 2024 04:19
Copy link

socket-security bot commented Jun 10, 2024

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report↗︎

@renovate renovate bot force-pushed the renovate/major-testing-library-monorepo branch from 7276e1f to 66b5076 Compare June 11, 2024 00:24
@renovate renovate bot force-pushed the renovate/major-testing-library-monorepo branch 2 times, most recently from 7749cd4 to 212a226 Compare June 24, 2024 04:44
@renovate renovate bot force-pushed the renovate/major-testing-library-monorepo branch 2 times, most recently from 3ffcbb5 to e060d9f Compare July 23, 2024 15:44
@renovate renovate bot force-pushed the renovate/major-testing-library-monorepo branch 2 times, most recently from 78615a9 to eb360bd Compare August 29, 2024 12:05
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 66dcb48 and eb360bd.

Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
Files selected for processing (1)
  • apps/redux-app/package.json (1 hunks)
Additional comments not posted (2)
apps/redux-app/package.json (2)

33-33: LGTM! Verify the usage of extend-expect script.

The update to @testing-library/jest-dom version 6.5.0 includes several bug fixes and new features. Ensure that the breaking changes in version 6.0.0 are addressed, specifically the removal of the extend-expect script.


34-34: LGTM! Verify the peer dependencies.

The update to @testing-library/react version 16.0.1 includes moving @testing-library/dom and @types/react-dom to peer dependencies. Ensure that these peer dependencies are correctly handled to avoid version conflicts.

@renovate renovate bot force-pushed the renovate/major-testing-library-monorepo branch 2 times, most recently from ce31e28 to 29e97ec Compare September 16, 2024 03:34
@renovate renovate bot force-pushed the renovate/major-testing-library-monorepo branch from 29e97ec to f1a8593 Compare September 23, 2024 04:32
@renovate renovate bot force-pushed the renovate/major-testing-library-monorepo branch 2 times, most recently from ef7adaf to c15b003 Compare October 11, 2024 17:02
@renovate renovate bot force-pushed the renovate/major-testing-library-monorepo branch 3 times, most recently from 2f9078a to 475d325 Compare October 21, 2024 10:54
@renovate renovate bot force-pushed the renovate/major-testing-library-monorepo branch from 475d325 to 2cce06b Compare October 29, 2024 05:16
@renovate renovate bot force-pushed the renovate/major-testing-library-monorepo branch from 2cce06b to 3a31a6e Compare October 31, 2024 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants