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/jest-dom 5.17.0 → 6.1.4 (major) #380

Closed
wants to merge 1 commit into from

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Oct 19, 2023

Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ @​testing-library/jest-dom (5.17.0 → 6.1.4) · Repo · Changelog

Release Notes

6.1.4

6.1.4 (2023-10-12)

Bug Fixes

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

6.1.3

6.1.3 (2023-09-06)

Bug Fixes

6.1.2

6.1.2 (2023-08-24)

Bug Fixes

  • bump @adobe/css-tools for ESM support (#525) (b959a68)

6.1.1

6.1.1 (2023-08-23)

Bug Fixes

  • package.json: update main and module file paths (#523) (853a3e5)

6.1.0

6.1.0 (2023-08-23)

Features

  • Publish ESM and CJS (#519)

6.0.1

6.0.1 (2023-08-18)

Bug Fixes

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

6.0.0

6.0.0 (2023-08-13)

Features

  • local types, supporting jest, @jest/globals, vitest (#511) (4b764b9)

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:

  • @testing-library/jest-dom - jest (@types/jest)
  • @testing-library/jest-dom/jest-globals - @jest/globals
  • @testing-library/jest-dom/vitest - vitest

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

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 9 commits:


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@vercel
Copy link

vercel bot commented Oct 19, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nextjs-tailwind-template ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 15, 2023 8:47am

@depfu depfu bot force-pushed the depfu-update-yarn-testing-library-jest-dom-6.1.4 branch from 44756b1 to 2d6211a Compare November 15, 2023 08:45
Copy link
Contributor Author

depfu bot commented Dec 7, 2023

Closed in favor of #405.

@depfu depfu bot closed this Dec 7, 2023
@depfu depfu bot deleted the depfu-update-yarn-testing-library-jest-dom-6.1.4 branch December 7, 2023 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants