Skip to content

Commit 1cfd666

Browse files
build(deps-dev): bump @testing-library/jest-dom from 5.17.0 to 6.4.8 (#294)
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.17.0 to 6.4.8. <details> <summary>Release notes</summary> <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> <blockquote> <h2>v6.4.8</h2> <h2><a href="https://github.com/testing-library/jest-dom/compare/v6.4.7...v6.4.8">6.4.8</a> (2024-07-23)</h2> <h3>Bug Fixes</h3> <ul> <li>Drop peerDependencies from package.json (<a href="https://redirect.github.com/testing-library/jest-dom/issues/610">#610</a>) (<a href="https://github.com/testing-library/jest-dom/commit/faf534b6ffa20db8e3cad5824d8bc35bc2309965">faf534b</a>)</li> </ul> <h2>v6.4.7</h2> <h2><a href="https://github.com/testing-library/jest-dom/compare/v6.4.6...v6.4.7">6.4.7</a> (2024-07-22)</h2> <h3>Bug Fixes</h3> <ul> <li>Type definition of <code>toHaveClass</code> (<a href="https://redirect.github.com/testing-library/jest-dom/issues/611">#611</a>) (<a href="https://github.com/testing-library/jest-dom/commit/5cc6298847e08872b79f827921c64c9ba261cc54">5cc6298</a>)</li> </ul> <h2>v6.4.6</h2> <h2><a href="https://github.com/testing-library/jest-dom/compare/v6.4.5...v6.4.6">6.4.6</a> (2024-06-10)</h2> <h3>Bug Fixes</h3> <ul> <li>Support <a href="https://github.com/starting-style"><code>@​starting-style</code></a> (<a href="https://redirect.github.com/testing-library/jest-dom/issues/602">#602</a>) (<a href="https://github.com/testing-library/jest-dom/commit/fd9ee68ae4ca93c47f0781ad23113d45118b8476">fd9ee68</a>)</li> </ul> <h2>v6.4.5</h2> <h2><a href="https://github.com/testing-library/jest-dom/compare/v6.4.4...v6.4.5">6.4.5</a> (2024-05-03)</h2> <h3>Bug Fixes</h3> <ul> <li>add js suffix to isEqualWith import (<a href="https://redirect.github.com/testing-library/jest-dom/issues/599">#599</a>) (<a href="https://github.com/testing-library/jest-dom/commit/e8c8b13c6de2a0ccffaa6539809c8c11f141beca">e8c8b13</a>)</li> </ul> <h2>v6.4.4</h2> <h2><a href="https://github.com/testing-library/jest-dom/compare/v6.4.3...v6.4.4">6.4.4</a> (2024-05-03)</h2> <h3>Bug Fixes</h3> <ul> <li><strong>infra:</strong> codecoverage token addition (<a href="https://redirect.github.com/testing-library/jest-dom/issues/600">#600</a>) (<a href="https://github.com/testing-library/jest-dom/commit/f03a582827453de6fac4510dcf4fa3148c7ed68a">f03a582</a>)</li> </ul> <h2>v6.4.3</h2> <h2><a href="https://github.com/testing-library/jest-dom/compare/v6.4.2...v6.4.3">6.4.3</a> (2024-05-03)</h2> <h3>Bug Fixes</h3> <ul> <li>Updates role support for aria-required attribute in <code>toBeRequired</code> (<a href="https://redirect.github.com/testing-library/jest-dom/issues/590">#590</a>) (<a href="https://github.com/testing-library/jest-dom/commit/20aca338d09062a2a71f6dd4e0daad65b26f6210">20aca33</a>)</li> </ul> <h2>v6.4.2</h2> <h2><a href="https://github.com/testing-library/jest-dom/compare/v6.4.1...v6.4.2">6.4.2</a> (2024-02-05)</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/testing-library/jest-dom/commit/d02e80b1b7ed38090975bdfe49ab8063eec040f5"><code>d02e80b</code></a> docs: add ddolcimascolo as a contributor for maintenance (<a href="https://redirect.github.com/testing-library/jest-dom/issues/616">#616</a>)</li> <li><a href="https://github.com/testing-library/jest-dom/commit/faf534b6ffa20db8e3cad5824d8bc35bc2309965"><code>faf534b</code></a> fix: Drop peerDependencies from package.json (<a href="https://redirect.github.com/testing-library/jest-dom/issues/610">#610</a>)</li> <li><a href="https://github.com/testing-library/jest-dom/commit/78a2934e3bcdd2140bd8e814a5050c7c37c4d112"><code>78a2934</code></a> docs: add tonyhallett as a contributor for bug (<a href="https://redirect.github.com/testing-library/jest-dom/issues/615">#615</a>)</li> <li><a href="https://github.com/testing-library/jest-dom/commit/5cc6298847e08872b79f827921c64c9ba261cc54"><code>5cc6298</code></a> fix: Type definition of <code>toHaveClass</code> (<a href="https://redirect.github.com/testing-library/jest-dom/issues/611">#611</a>)</li> <li><a href="https://github.com/testing-library/jest-dom/commit/fd9ee68ae4ca93c47f0781ad23113d45118b8476"><code>fd9ee68</code></a> fix: Support <a href="https://github.com/starting-style"><code>@​starting-style</code></a> (<a href="https://redirect.github.com/testing-library/jest-dom/issues/602">#602</a>)</li> <li><a href="https://github.com/testing-library/jest-dom/commit/e8c8b13c6de2a0ccffaa6539809c8c11f141beca"><code>e8c8b13</code></a> fix: add js suffix to isEqualWith import (<a href="https://redirect.github.com/testing-library/jest-dom/issues/599">#599</a>)</li> <li><a href="https://github.com/testing-library/jest-dom/commit/f03a582827453de6fac4510dcf4fa3148c7ed68a"><code>f03a582</code></a> fix(infra): codecoverage token addition (<a href="https://redirect.github.com/testing-library/jest-dom/issues/600">#600</a>)</li> <li><a href="https://github.com/testing-library/jest-dom/commit/20aca338d09062a2a71f6dd4e0daad65b26f6210"><code>20aca33</code></a> fix: Updates role support for aria-required attribute in <code>toBeRequired</code> (<a href="https://redirect.github.com/testing-library/jest-dom/issues/590">#590</a>)</li> <li><a href="https://github.com/testing-library/jest-dom/commit/bd82f64592696c9710c59becaf1adfeb1e4c6169"><code>bd82f64</code></a> refactor: replace lodash with own implementation when possible (<a href="https://redirect.github.com/testing-library/jest-dom/issues/593">#593</a>)</li> <li><a href="https://github.com/testing-library/jest-dom/commit/a93c0c4a20ed4d3a9656261ea6a449d1015b7879"><code>a93c0c4</code></a> fix: Remove errant export of GetByRoleMatcher, fixing type checking in some T...</li> <li>Additional commits viewable in <a href="https://github.com/testing-library/jest-dom/compare/v5.17.0...v6.4.8">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@testing-library/jest-dom&package-manager=npm_and_yarn&previous-version=5.17.0&new-version=6.4.8)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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) - `@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) - `@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) </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ryan Lamb <4955475+kinyoklion@users.noreply.github.com>
1 parent c5463cb commit 1cfd666

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

jest.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@ module.exports = {
66
},
77
testRegex: '.*\\.test\\.(ts|tsx)$',
88
testPathIgnorePatterns: ['/node_modules/', '/examples/'],
9-
setupFilesAfterEnv: ['./setupTests.js'],
109
testEnvironment: 'jest-environment-jsdom-global',
1110
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"@rollup/plugin-node-resolve": "^15.1.0",
5252
"@rollup/plugin-terser": "^0.4.3",
5353
"@rollup/plugin-typescript": "^11.1.2",
54-
"@testing-library/jest-dom": "^5.16.4",
54+
"@testing-library/jest-dom": "^6.4.8",
5555
"@testing-library/react": "^15.0.7",
5656
"@types/hoist-non-react-statics": "^3.3.1",
5757
"@types/jest": "^27.5.2",

setupTests.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/asyncWithLDProvider.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ import getFlagsProxy from './getFlagsProxy';
77
import wrapperOptions from './wrapperOptions';
88
import ProviderState from './providerState';
99

10+
// Extend the expect with additional methods.
11+
// tslint:disable-next-line:no-import-side-effect
12+
import '@testing-library/jest-dom';
13+
1014
/**
1115
* This is an async function which initializes LaunchDarkly's JS SDK (`launchdarkly-js-client-sdk`)
1216
* and awaits it so all flags and the ldClient are ready before the consumer app is rendered.

0 commit comments

Comments
 (0)