Bump @testing-library/dom from 7.31.2 to 8.0.0 in /desktop (#2529)
Summary: Bumps [testing-library/dom](https://github.com/testing-library/dom-testing-library) from 7.31.2 to 8.0.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/testing-library/dom-testing-library/releases"><code>@testing-library/dom</code>'s releases</a>.</em></p> <blockquote> <h2>v8.0.0</h2> <h1><a href="https://github.com/testing-library/dom-testing-library/compare/v7.31.2...v8.0.0">8.0.0</a> (2021-06-23)</h1> <h3>Recommendations</h3> <ol> <li>If you're using <code>jest</code> fake timers make sure you use modern timers jest 27: <pre lang="diff"><code>-jest.useFakeTimers('legacy') +jest.useFakeTimers('modern') // jest.config.js -"timers": "legacy", +"timers": "modern", </code></pre> jest 26: <pre lang="diff"><code>-jest.useFakeTimers() +jest.useFakeTimers('modern') // jest.config.js -"timers": "legacy", +"timers": "modern", </code></pre> </li> </ol> <h3>chore</h3> <ul> <li>Release v8 as stable (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/979">https://github.com/facebook/flipper/issues/979</a>) (<a href="d347302d6b">d347302</a>)</li> </ul> <h3>BREAKING CHANGES</h3> <ul> <li>Remove deprecated <code>waitFormDOMChange</code></li> <li>Remove deprecated <code>waitForElement</code></li> <li>The <code>timeout</code> in <code>waitFor(callback, { interval, timeout } )</code> now uses the same clock as <code>interval</code>. Previously <code>timeout</code> was always using the real clock while <code>interval</code> was using the global clock which could've been mocked out. For the old behavior I'd recommend <code>waitFor(callback, { interval, timeout: Number.POSITIVE_INFINITY })</code> and rely on your test runner to timeout considering real timers.</li> <li><code><script /></code>, <code><style /></code> and comment nodes are now ignored by default in <code>prettyDOM</code> .If you whish to return to the old behavior, use a custom <code>filterNode</code> function. In this case <code>prettyDOM(element, { filterNode: () => true })</code>.</li> <li>node 10 is no longer supported. It reached its end-of-life on 30.04.2021.</li> </ul> <h2>v8.0.0-alpha.7</h2> <h1><a href="https://github.com/testing-library/dom-testing-library/compare/v8.0.0-alpha.6...v8.0.0-alpha.7">8.0.0-alpha.7</a> (2021-06-20)</h1> <h3>Bug Fixes</h3> <ul> <li>Consider <code><output /></code> labelable (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/968">https://github.com/facebook/flipper/issues/968</a>) (<a href="56a4c759a0">56a4c75</a>)</li> </ul> <h2>v8.0.0-alpha.6</h2> <h1><a href="https://github.com/testing-library/dom-testing-library/compare/v8.0.0-alpha.5...v8.0.0-alpha.6">8.0.0-alpha.6</a> (2021-06-12)</h1> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="84ebc5124f"><code>84ebc51</code></a> test(fake-timers): raf is now mocked in legacy fake timers (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/986">https://github.com/facebook/flipper/issues/986</a>)</li> <li><a href="d347302d6b"><code>d347302</code></a> chore: Release v8 as stable (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/979">https://github.com/facebook/flipper/issues/979</a>)</li> <li>See full diff in <a href="https://github.com/testing-library/dom-testing-library/compare/v7.31.2...v8.0.0">compare view</a></li> </ul> </details> <br /> [](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 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> Pull Request resolved: https://github.com/facebook/flipper/pull/2529 Reviewed By: mweststrate Differential Revision: D29429955 Pulled By: cekkaewnumchai fbshipit-source-id: 7a25bed5e6d85534a48815ddc5a5a5a701df5e7b
This commit is contained in:
committed by
Facebook GitHub Bot
parent
5a974b594b
commit
ecab50247f
@@ -82,7 +82,7 @@
|
||||
"7zip-bin-mac": "^1.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@testing-library/dom": "^7.31.2",
|
||||
"@testing-library/dom": "^8.0.0",
|
||||
"@testing-library/react": "^11.2.7",
|
||||
"@types/lodash.memoize": "^4.1.6",
|
||||
"@types/split2": "^3.2.0",
|
||||
|
||||
Reference in New Issue
Block a user