Bump jest from 24.9.0 to 26.1.0 in /react-native/ReactNativeFlipperExample (#1356)

Summary:
Bumps [jest](https://github.com/facebook/jest) from 24.9.0 to 26.1.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/jest/releases">jest's releases</a>.</em></p>
<blockquote>
<h2>26.1.0</h2>
<h3>Features</h3>
<ul>
<li><code>[jest-mock]</code> Export <code>Mock</code>, <code>MockInstance</code>, <code>SpyInstance</code> types (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10138">#10138</a>)</li>
<li><code>[jest-config]</code> Support config files exporting (<code>async</code>) <code>function</code>s (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10001">#10001</a>)</li>
<li><code>[jest-cli, jest-core]</code> Add <code>--selectProjects</code> CLI argument to filter test suites by project name (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/8612">#8612</a>)</li>
<li><code>[jest-cli, jest-init]</code> Add <code>coverageProvider</code> to <code>jest --init</code> prompts (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10044">#10044</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li><code>[jest-console]</code> <code>getConsoleOutput</code> to receive global stack trace config and use it to format stack trace (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10081">#10081</a>)</li>
<li><code>[jest-jasmine2]</code> Stop adding <code>:</code> after an error that has no message (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9990">#9990</a>)</li>
<li><code>[jest-diff]</code> Control no diff message color with <code>commonColor</code> in diff options (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9997">#9997</a>)</li>
<li><code>[jest-snapshot]</code> Fix TypeScript compilation (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10008">#10008</a>)</li>
</ul>
<h3>Chore &amp; Maintenance</h3>
<ul>
<li><code>[docs]</code> Correct confusing filename in <code>enableAutomock</code> example (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10055">#10055</a>)</li>
<li><code>[jest-core]</code> 🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉 (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10000">#10000</a>)</li>
<li><code>[jest-core, jest-reporters, jest-test-result, jest-types]</code> Cleanup <code>displayName</code> type (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10049">#10049</a>)</li>
<li><code>[jest-runtime]</code> Jest-internal sandbox escape hatch (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9907">#9907</a>)</li>
<li><code>[jest-fake-timers]</code> Update <code>now</code> param type to support <code>Date</code> in addition to <code>number</code>. (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10169">#10169</a>)</li>
<li><code>[docs]</code> Add param to <code>setSystemTime</code> docs and remove preceding period from it and <code>getRealSystemTime</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10169">#10169</a>)</li>
<li><code>[jest-snapshot, jest-util]</code> Replace <code>make-dir</code> with <code>fs.mkdir</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10136">#10136</a>)</li>
</ul>
<h3>Performance</h3>
<ul>
<li><code>[jest-core, jest-transform, jest-haste-map]</code> Improve Jest startup time and test runtime, particularly when running with coverage, by caching micromatch and avoiding recreating RegExp instances (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10131">#10131</a>)</li>
</ul>
<h2>26.0.1</h2>
<h3>Fixes</h3>
<ul>
<li><code>[jest-circus]</code> Backward compatibility for deprecated <code>DescribeBlock.tests</code> to not break e.g. Detox reporter</li>
</ul>
<h2>26.0.0</h2>
<h3>Features</h3>
<ul>
<li><code>[jest-environment-jsdom]</code> [<strong>BREAKING</strong>] Upgrade <code>jsdom</code> to v16 (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9606">#9606</a>)</li>
<li><code>[jest/fake-timers]</code> Add possibility to use a modern implementation of fake timers, backed by <code>sinonjs/fake-timers</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/7776">#7776</a>)</li>
<li><code>[jest-runtime]</code> Add <code>createMockFromModule</code> as an alias for <code>genMockFromModule</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9962">#9962</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li><code>[babel-jest]</code> Handle <code>null</code> being passed to <code>createTransformer</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9955">#9955</a>)</li>
<li><code>[jest-circus, jest-console, jest-jasmine2, jest-reporters, jest-util, pretty-format]</code> Fix time durating formatting and consolidate time formatting code (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9765">#9765</a>)</li>
<li><code>[jest-circus]</code> [<strong>BREAKING</strong>] Fail tests if a test takes a done callback and have return values (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9129">#9129</a>)</li>
<li><code>[jest-circus]</code> [<strong>BREAKING</strong>] Throw a proper error if a test / hook is defined asynchronously (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/8096">#8096</a>)</li>
<li><code>[jest-circus]</code> Throw more descriptive error if hook is defined inside test (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9957">#9957</a>)</li>
<li><code>[jest-circus]</code> [<strong>BREAKING</strong>] Align execution order of tests to match <code>jasmine</code>'s top to bottom order (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9965">#9965</a>)</li>
<li><code>[jest-config, jest-resolve]</code> [<strong>BREAKING</strong>] Remove support for <code>browser</code> field (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9943">#9943</a>)</li>
</ul>

</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/facebook/jest/blob/master/CHANGELOG.md">jest's changelog</a>.</em></p>
<blockquote>
<h2>26.1.0</h2>
<h3>Features</h3>
<ul>
<li><code>[jest-mock]</code> Export <code>Mock</code>, <code>MockInstance</code>, <code>SpyInstance</code> types (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10138">#10138</a>)</li>
<li><code>[jest-config]</code> Support config files exporting (<code>async</code>) <code>function</code>s (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10001">#10001</a>)</li>
<li><code>[jest-cli, jest-core]</code> Add <code>--selectProjects</code> CLI argument to filter test suites by project name (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/8612">#8612</a>)</li>
<li><code>[jest-cli, jest-init]</code> Add <code>coverageProvider</code> to <code>jest --init</code> prompts (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10044">#10044</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li><code>[jest-console]</code> <code>getConsoleOutput</code> to receive global stack trace config and use it to format stack trace (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10081">#10081</a>)</li>
<li><code>[jest-jasmine2]</code> Stop adding <code>:</code> after an error that has no message (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9990">#9990</a>)</li>
<li><code>[jest-diff]</code> Control no diff message color with <code>commonColor</code> in diff options (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9997">#9997</a>)</li>
<li><code>[jest-snapshot]</code> Fix TypeScript compilation (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10008">#10008</a>)</li>
</ul>
<h3>Chore &amp; Maintenance</h3>
<ul>
<li><code>[docs]</code> Correct confusing filename in <code>enableAutomock</code> example (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10055">#10055</a>)</li>
<li><code>[jest-core]</code> 🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉 (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10000">#10000</a>)</li>
<li><code>[jest-core, jest-reporters, jest-test-result, jest-types]</code> Cleanup <code>displayName</code> type (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10049">#10049</a>)</li>
<li><code>[jest-runtime]</code> Jest-internal sandbox escape hatch (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9907">#9907</a>)</li>
<li><code>[jest-fake-timers]</code> Update <code>now</code> param type to support <code>Date</code> in addition to <code>number</code>. (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10169">#10169</a>)</li>
<li><code>[docs]</code> Add param to <code>setSystemTime</code> docs and remove preceding period from it and <code>getRealSystemTime</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10169">#10169</a>)</li>
<li><code>[jest-snapshot, jest-util]</code> Replace <code>make-dir</code> with <code>fs.mkdir</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10136">#10136</a>)</li>
<li><code>[docs]</code> Added parcel-bundler documentation inside readme.md file</li>
</ul>
<h3>Performance</h3>
<ul>
<li><code>[jest-core, jest-transform, jest-haste-map]</code> Improve Jest startup time and test runtime, particularly when running with coverage, by caching micromatch and avoiding recreating RegExp instances (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10131">#10131</a>)</li>
</ul>
<h2>26.0.1</h2>
<h3>Fixes</h3>
<ul>
<li><code>[jest-circus]</code> Backward compatibility for deprecated <code>DescribeBlock.tests</code> to not break e.g. Detox reporter</li>
</ul>
<h2>26.0.0</h2>
<h3>Features</h3>
<ul>
<li><code>[jest-environment-jsdom]</code> [<strong>BREAKING</strong>] Upgrade <code>jsdom</code> to v16 (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9606">#9606</a>)</li>
<li><code>[jest/fake-timers]</code> Add possibility to use a modern implementation of fake timers, backed by <code>sinonjs/fake-timers</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/7776">#7776</a>)</li>
<li><code>[jest-runtime]</code> Add <code>createMockFromModule</code> as an alias for <code>genMockFromModule</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9962">#9962</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li><code>[babel-jest]</code> Handle <code>null</code> being passed to <code>createTransformer</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9955">#9955</a>)</li>
<li><code>[jest-circus, jest-console, jest-jasmine2, jest-reporters, jest-util, pretty-format]</code> Fix time durating formatting and consolidate time formatting code (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9765">#9765</a>)</li>
<li><code>[jest-circus]</code> [<strong>BREAKING</strong>] Fail tests if a test takes a done callback and have return values (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9129">#9129</a>)</li>
</ul>

</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="817d8b6aca"><code>817d8b6</code></a> v26.1.0</li>
<li><a href="30658c6fc0"><code>30658c6</code></a> chore: update changelog for release</li>
<li><a href="a1fa776965"><code>a1fa776</code></a> chore: quote globs in scripts (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/10190">#10190</a>)</li>
<li><a href="17c3f14053"><code>17c3f14</code></a> chore: replace <code>make-dir</code> with <code>fs.mkdir</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/10136">#10136</a>)</li>
<li><a href="ee40194a67"><code>ee40194</code></a> Update ExpectAPI.md (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/10141">#10141</a>)</li>
<li><a href="95b94e84cf"><code>95b94e8</code></a> feat(jest-mock): Export Mock, MockInstance, SpyInstance types (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/10138">#10138</a>)</li>
<li><a href="504cacee18"><code>504cace</code></a> Improve Jest startup time and test runtime, particularly when running with co...</li>
<li><a href="4471bbbb2d"><code>4471bbb</code></a> Update GlobalAPI.md (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/10157">#10157</a>)</li>
<li><a href="15576d3d37"><code>15576d3</code></a> Update links to Reactiflux (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/10180">#10180</a>)</li>
<li><a href="852819abc0"><code>852819a</code></a> Update UsingMatchers.md (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/10161">#10161</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/jest/compare/v24.9.0...v26.1.0">compare view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a href="https://www.npmjs.com/~simenb">simenb</a>, a new releaser for jest since your current version.</p>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=jest&package-manager=npm_and_yarn&previous-version=24.9.0&new-version=26.1.0)](https://help.github.com/articles/configuring-automated-security-fixes)

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/1356

Reviewed By: mweststrate

Differential Revision: D22434670

Pulled By: passy

fbshipit-source-id: 3170e37b7f52045eb9c32ef48e2c24c81a5bfc59
This commit is contained in:
dependabot[bot]
2020-07-10 02:17:00 -07:00
committed by Facebook GitHub Bot
parent fdc5e5e503
commit ddf483a5e9
2 changed files with 1478 additions and 544 deletions

View File

@@ -18,7 +18,7 @@
"@babel/core": "^7.6.2", "@babel/core": "^7.6.2",
"@babel/runtime": "^7.6.2", "@babel/runtime": "^7.6.2",
"babel-jest": "^24.9.0", "babel-jest": "^24.9.0",
"jest": "^24.9.0", "jest": "^26.1.0",
"metro-react-native-babel-preset": "^0.58.0", "metro-react-native-babel-preset": "^0.58.0",
"react-test-renderer": "16.11.0", "react-test-renderer": "16.11.0",
"relative-deps": "^1.0.0" "relative-deps": "^1.0.0"

File diff suppressed because it is too large Load Diff