576.md (5936B)
1 # PR #576 Bump @testing-library/jest-dom from 5.16.5 to 6.0.1 2 3 - **Status:** closed 4 - **Author:** @dependabot[bot] 5 - **Created:** 2023-08-18T08:39:11Z 6 - **Branch:** dependabot/npm_and_yarn/testing-library/jest-dom-6.0.1 → main 7 - **Closed:** 2023-08-23T08:20:48Z 8 - **Labels:** dependencies, javascript 9 - **Assignees:** @MTRNord 10 - **Reviewers:** @MTRNord 11 - **Diff:** [576.diff](./576.diff) 12 13 --- 14 15 Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.16.5 to 6.0.1. 16 <details> 17 <summary>Release notes</summary> 18 <p><em>Sourced from <a href="https://github.com/testing-library/jest-dom/releases"><code>@testing-library/jest-dom</code>'s releases</a>.</em></p> 19 <blockquote> 20 <h2>v6.0.1</h2> 21 <h2><a href="https://github.com/testing-library/jest-dom/compare/v6.0.0...v6.0.1">6.0.1</a> (2023-08-18)</h2> 22 <h3>Bug Fixes</h3> 23 <ul> 24 <li>matchers type is making the global expect unsafe (<a href="https://redirect.github.com/testing-library/jest-dom/issues/513">#513</a>) (<a href="https://github.com/testing-library/jest-dom/commit/bdb34f12959578c77b18b0c0910d512768b20ab0">bdb34f1</a>)</li> 25 </ul> 26 <h2>v6.0.0</h2> 27 <h1><a href="https://github.com/testing-library/jest-dom/compare/v5.17.0...v6.0.0">6.0.0</a> (2023-08-13)</h1> 28 <h3>Features</h3> 29 <ul> 30 <li>local types, supporting jest, <code>@jest/globals</code>, vitest (<a href="https://redirect.github.com/testing-library/jest-dom/issues/511">#511</a>) (<a href="https://github.com/testing-library/jest-dom/commit/4b764b9f6a7b564d7f8ec0e9b0c6ba9cc875f2b8">4b764b9</a>)</li> 31 </ul> 32 <h3>BREAKING CHANGES</h3> 33 <ul> 34 <li>Removes the extend-expect script. Users should use 35 the default import path or one of the new test platform-specific 36 paths to automatically extend the appropriate "expect" instance.</li> 37 </ul> 38 <p>extend-expect was not documented in the Readme, so this change should 39 have minimal impact.</p> 40 <p>Users can now use the following import paths to automatically extend 41 "expect" for their chosen test platform:</p> 42 <ul> 43 <li><code>@testing-library/jest-dom</code> - jest (<code>@types/jest</code>)</li> 44 <li><code>@testing-library/jest-dom/</code>jest-globals - <code>@jest/globals</code></li> 45 <li><code>@testing-library/jest-dom/</code>vitest - vitest</li> 46 </ul> 47 <p>For example:</p> 48 <p>import '<code>@testing-library/jest-dom/</code>jest-globals'</p> 49 <p>Importing from one of the above paths will augment the appropriate 50 matcher interface for the given test platform, assuming the import 51 is done in a .ts file that is included in the user's tsconfig.json.</p> 52 <p>It's also (still) possible to import the matchers directly without 53 side effects:</p> 54 <p>import * as matchers from '<code>@testing-library/jest-dom/</code>matchers'</p> 55 <ul> 56 <li>Update kcd-scripts</li> 57 <li>Drop node < 14</li> 58 </ul> 59 <h2>v5.17.0</h2> 60 <!-- raw HTML omitted --> 61 </blockquote> 62 <p>... (truncated)</p> 63 </details> 64 <details> 65 <summary>Commits</summary> 66 <ul> 67 <li><a href="https://github.com/testing-library/jest-dom/commit/bdb34f12959578c77b18b0c0910d512768b20ab0"><code>bdb34f1</code></a> fix: matchers type is making the global expect unsafe (<a href="https://redirect.github.com/testing-library/jest-dom/issues/513">#513</a>)</li> 68 <li><a href="https://github.com/testing-library/jest-dom/commit/4b764b9f6a7b564d7f8ec0e9b0c6ba9cc875f2b8"><code>4b764b9</code></a> feat: local types, supporting jest, <code>@jest/globals</code>, vitest (<a href="https://redirect.github.com/testing-library/jest-dom/issues/511">#511</a>)</li> 69 <li><a href="https://github.com/testing-library/jest-dom/commit/d717c66cb4a32c806e53b287418a4013d37898fb"><code>d717c66</code></a> feat: New <code>toHaveAccessibleErrorMessage</code> better implementing the spec, deprec...</li> 70 <li>See full diff in <a href="https://github.com/testing-library/jest-dom/compare/v5.16.5...v6.0.1">compare view</a></li> 71 </ul> 72 </details> 73 <br /> 74 75 76 [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 77 78 Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. 79 80 [//]: # (dependabot-automerge-start) 81 [//]: # (dependabot-automerge-end) 82 83 --- 84 85 <details> 86 <summary>Dependabot commands and options</summary> 87 <br /> 88 89 You can trigger Dependabot actions by commenting on this PR: 90 - `@dependabot rebase` will rebase this PR 91 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it 92 - `@dependabot merge` will merge this PR after your CI passes on it 93 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it 94 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging 95 - `@dependabot reopen` will reopen this PR if it is closed 96 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually 97 - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency 98 - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) 99 - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) 100 - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) 101 102 103 </details> 104 105 106 ## Comments 107 108 ### @dependabot[bot] — 2023-08-23T08:20:48Z 109 110 Superseded by #581. 111