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