Summary: Bumps [jest](https://github.com/facebook/jest) from 27.1.1 to 27.2.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.2.1</h2> <h3>Features</h3> <ul> <li><code>[jest-transform]</code> Improve the unexpected token error message. (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11807">#11807</a>)</li> </ul> <h3>Fixes</h3> <ul> <li><code>[jest-runtime]</code> Fix regression when using <code>jest.isolateModules</code> and mocks (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11882">#11882</a>)</li> <li><code>[jest-runtime]</code> Include test name when importing modules after test has completed (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11885">#11885</a>)</li> <li><code>[jest-runtime]</code> Error when ESM import is used after test is torn down (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11885">#11885</a>)</li> </ul> <h2>27.2.0</h2> <h3>Features</h3> <ul> <li><code>[jest-resolver, jest-runtime]</code> Pass <code>conditions</code> to custom resolvers to enable them to implement support for package.json <code>exports</code> field (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11859">#11859</a>)</li> <li><code>[jest-runtime]</code> Allow custom envs to specify <code>exportConditions</code> which is passed together with Jest's own conditions to custom resolvers (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11863">#11863</a>)</li> </ul> <h3>Fixes</h3> <ul> <li><code>[jest/reporters]</code> Use async transform if available to transform files with no coverage (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11852">#11852</a>)</li> <li><code>[jest-util]</code> Return correct value from <code>process.send</code> stub (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11799">#11799</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/facebook/jest/blob/main/CHANGELOG.md">jest's changelog</a>.</em></p> <blockquote> <h2>27.2.1</h2> <h3>Features</h3> <ul> <li><code>[jest-transform]</code> Improve the unexpected token error message. (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11807">#11807</a>)</li> </ul> <h3>Fixes</h3> <ul> <li><code>[jest-runtime]</code> Fix regression when using <code>jest.isolateModules</code> and mocks (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11882">#11882</a>)</li> <li><code>[jest-runtime]</code> Include test name when importing modules after test has completed (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11885">#11885</a>)</li> <li><code>[jest-runtime]</code> Error when ESM import is used after test is torn down (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11885">#11885</a>)</li> </ul> <h2>27.2.0</h2> <h3>Features</h3> <ul> <li><code>[jest-resolver, jest-runtime]</code> Pass <code>conditions</code> to custom resolvers to enable them to implement support for package.json <code>exports</code> field (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11859">#11859</a>)</li> <li><code>[jest-runtime]</code> Allow custom envs to specify <code>exportConditions</code> which is passed together with Jest's own conditions to custom resolvers (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11863">#11863</a>)</li> </ul> <h3>Fixes</h3> <ul> <li><code>[jest/reporters]</code> Use async transform if available to transform files with no coverage (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11852">#11852</a>)</li> <li><code>[jest-util]</code> Return correct value from <code>process.send</code> stub (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11799">#11799</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="50862b410c"><code>50862b4</code></a> v27.2.1</li> <li><a href="5aad21f59d"><code>5aad21f</code></a> chore: update changelog for release</li> <li><a href="6175fa1cf3"><code>6175fa1</code></a> make the syntax error message more helpful for TS users (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/11807">#11807</a>)</li> <li><a href="31cad209cd"><code>31cad20</code></a> fix: include path to test file in "after teardown" error (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/11885">#11885</a>)</li> <li><a href="7c4ea24abe"><code>7c4ea24</code></a> docs: add link to the typescript integration instructions (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/11806">#11806</a>)</li> <li><a href="651eb37a48"><code>651eb37</code></a> fix: properly return mocks when using jest.isolatedModules (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/11882">#11882</a>)</li> <li><a href="f4188de698"><code>f4188de</code></a> chore: remove node version pinning from CI (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/11866">#11866</a>)</li> <li><a href="2f135d3b44"><code>2f135d3</code></a> chore: remove node 13 as condition in some tests (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/11880">#11880</a>)</li> <li><a href="d7f097543f"><code>d7f0975</code></a> chore: fix typo in docs</li> <li><a href="e37c17d143"><code>e37c17d</code></a> chore: update lockfile after publish</li> <li>Additional commits viewable in <a href="https://github.com/facebook/jest/compare/v27.1.1...v27.2.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/2899 Reviewed By: mweststrate Differential Revision: D31150369 Pulled By: passy fbshipit-source-id: f9c3e97f2703ce53f19300d04c580ec133c07981