Summary: Bumps [jest](https://github.com/facebook/jest) from 27.0.6 to 27.1.1. <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>27.1.1</h2> <h3>Features</h3> <ul> <li><code>[jest-runtime]</code> Add experimental, limited (and undocumented) support for mocking ECMAScript Modules (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11818">#11818</a>)</li> </ul> <h3>Fixes</h3> <ul> <li><code>[jest-resolver]</code> Support <code>node:</code> prefix when importing Node core modules with ESM (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11817">#11817</a>)</li> <li><code>[jest-types]</code> Export the <code>PrettyFormatOptions</code> interface (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11801">#11801</a>)</li> </ul> <h2>27.1.0</h2> <h3>Features</h3> <ul> <li><code>[jest-haste-map]</code> Use watchman suffix-set option for faster file indexing. (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11784">#11784</a>)</li> <li><code>[jest-cli]</code> Adds a new config options <code>snapshotFormat</code> which offers a way to override any of the formatting settings which come with <a href="https://www.npmjs.com/package/pretty-format#usage-with-options">pretty-format</a>. (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11654">#11654</a>)</li> <li><code>[jest-reporters]</code> Expose the <code>getSummary</code> util (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11695">#11695</a>).</li> <li><code>[jest-resolver]</code> Support <code>node:</code> prefix when importing Node core modules (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11331">#11331</a>)</li> </ul> <h3>Fixes</h3> <ul> <li><code>[jest-each]</code> Relaxed the validation to allow multibyte characters in headings (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11575">#11575</a>)</li> <li><code>[jest-environment-jsdom]</code> Add support for <code>userAgent</code> option (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11773">#11773</a>)</li> <li><code>[jest-environment-node]</code> Add <code>Event</code> and <code>EventTarget</code> to node global environment. (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11727">#11727</a>)</li> <li><code>[jest-mock]</code> Fix <code>spyOn</code> to use <code>Object.prototype.hasOwnProperty</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11721">#11721</a>)</li> <li><code>[jest-resolver]</code> Add dependency on <code>jest-haste-map</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11759">#11759</a>)</li> <li><code>[jest-types]</code> Compat with <code>types/node</code> v16 (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11645">#11645</a>)</li> </ul> <h3>Chore & Maintenance</h3> <ul> <li><code>[docs]</code> Correct <code>expects.assertions</code> documentation by adding async/await for asynchronous function.</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>27.1.1</h2> <h3>Features</h3> <ul> <li><code>[jest-runtime]</code> Add experimental, limited (and undocumented) support for mocking ECMAScript Modules (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11818">#11818</a>)</li> </ul> <h3>Fixes</h3> <ul> <li><code>[jest-resolver]</code> Support <code>node:</code> prefix when importing Node core modules with ESM (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11817">#11817</a>)</li> <li><code>[jest-types]</code> Export the <code>PrettyFormatOptions</code> interface (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11801">#11801</a>)</li> </ul> <h2>27.1.0</h2> <h3>Features</h3> <ul> <li><code>[jest-haste-map]</code> Use watchman suffix-set option for faster file indexing. (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11784">#11784</a>)</li> <li><code>[jest-cli]</code> Adds a new config options <code>snapshotFormat</code> which offers a way to override any of the formatting settings which come with <a href="https://www.npmjs.com/package/pretty-format#usage-with-options">pretty-format</a>. (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11654">#11654</a>)</li> <li><code>[jest-reporters]</code> Expose the <code>getSummary</code> util (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11695">#11695</a>).</li> <li><code>[jest-resolver]</code> Support <code>node:</code> prefix when importing Node core modules (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11331">#11331</a>)</li> </ul> <h3>Fixes</h3> <ul> <li><code>[jest-each]</code> Relaxed the validation to allow multibyte characters in headings (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11575">#11575</a>)</li> <li><code>[jest-environment-jsdom]</code> Add support for <code>userAgent</code> option (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11773">#11773</a>)</li> <li><code>[jest-environment-node]</code> Add <code>Event</code> and <code>EventTarget</code> to node global environment. (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11727">#11727</a>)</li> <li><code>[jest-mock]</code> Fix <code>spyOn</code> to use <code>Object.prototype.hasOwnProperty</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11721">#11721</a>)</li> <li><code>[jest-resolver]</code> Add dependency on <code>jest-haste-map</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11759">#11759</a>)</li> <li><code>[jest-types]</code> Compat with <code>types/node</code> v16 (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11645">#11645</a>)</li> </ul> <h3>Chore & Maintenance</h3> <ul> <li><code>[docs]</code> Correct <code>expects.assertions</code> documentation by adding async/await for asynchronous function.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="111198b62d"><code>111198b</code></a> v27.1.1</li> <li><a href="02b819e061"><code>02b819e</code></a> chore: update changelog for release</li> <li><a href="b1ee6de377"><code>b1ee6de</code></a> fix(resolver): support node prefix from ESM (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/11817">#11817</a>)</li> <li><a href="831c3dec29"><code>831c3de</code></a> chore: bump version of CircleCI orb (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/11822">#11822</a>)</li> <li><a href="7399d48f02"><code>7399d48</code></a> chore: get rid of warnings when running react tests (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/11821">#11821</a>)</li> <li><a href="90d6908492"><code>90d6908</code></a> feat(runtime): add minimal support for mocking ESM (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/11818">#11818</a>)</li> <li><a href="36208850c8"><code>3620885</code></a> chore: update lockfiles after yarn update</li> <li><a href="39f632d5ad"><code>39f632d</code></a> chore: fix PnP compat test</li> <li><a href="849ef78449"><code>849ef78</code></a> chore: update yarn</li> <li><a href="3c511fd1a0"><code>3c511fd</code></a> Export PrettyFormatOptions type (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/11801">#11801</a>)</li> <li>Additional commits viewable in <a href="https://github.com/facebook/jest/compare/v27.0.6...v27.1.1">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/2832 Reviewed By: passy Differential Revision: D30840626 Pulled By: mweststrate fbshipit-source-id: 78ed7e566d286773ee7f96bcf0f422bc350f9472