Summary: Bumps [jest](https://github.com/facebook/jest) from 27.1.1 to 27.2.2. <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.2</h2> <h3>Fixes</h3> <ul> <li><code>[jest-runtime]</code> Correct <code>wrapperLength</code> value for ESM modules. (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11893">#11893</a>)</li> </ul> <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.2</h2> <h3>Fixes</h3> <ul> <li><code>[jest-runtime]</code> Correct <code>wrapperLength</code> value for ESM modules. (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11893">#11893</a>)</li> </ul> <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="f54d96fec5"><code>f54d96f</code></a> v27.2.2</li> <li><a href="5cf3294e44"><code>5cf3294</code></a> chore: update changelog for release</li> <li><a href="d4fff6a7c0"><code>d4fff6a</code></a> fix (jest-runtime): correct <code>wrapperLength</code> value for ESM modules (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/11893">#11893</a>)</li> <li><a href="da7c4a4284"><code>da7c4a4</code></a> chore: update <code>npm</code> instructions in README (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/11890">#11890</a>)</li> <li><a href="4f5dab05db"><code>4f5dab0</code></a> chore: force patched version of ansi-regex (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/11889">#11889</a>)</li> <li><a href="06d2c2c54b"><code>06d2c2c</code></a> chore: update lockfile after publish</li> <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>Additional commits viewable in <a href="https://github.com/facebook/jest/compare/v27.1.1...v27.2.2">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/2907 Reviewed By: mweststrate Differential Revision: D31240187 Pulled By: passy fbshipit-source-id: 4ff38c523eeeb525e05f9bcf43967e79aa38d837