facebook/jest
### [`v27.2.1`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#2721)
[Compare Source](https://togithub.com/facebook/jest/compare/v27.2.0...v27.2.1)
##### Features
- `[jest-transform]` Improve the unexpected token error message. ([#11807](https://togithub.com/facebook/jest/pull/11807))
##### Fixes
- `[jest-runtime]` Fix regression when using `jest.isolateModules` and mocks ([#11882](https://togithub.com/facebook/jest/pull/11882))
- `[jest-runtime]` Include test name when importing modules after test has completed ([#11885](https://togithub.com/facebook/jest/pull/11885))
- `[jest-runtime]` Error when ESM import is used after test is torn down ([#11885](https://togithub.com/facebook/jest/pull/11885))
### [`v27.2.0`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#2720)
[Compare Source](https://togithub.com/facebook/jest/compare/v27.1.1...v27.2.0)
##### Features
- `[jest-resolver, jest-runtime]` Pass `conditions` to custom resolvers to enable them to implement support for package.json `exports` field ([#11859](https://togithub.com/facebook/jest/pull/11859))
- `[jest-runtime]` Allow custom envs to specify `exportConditions` which is passed together with Jest's own conditions to custom resolvers ([#11863](https://togithub.com/facebook/jest/pull/11863))
##### Fixes
- `[@jest/reporters]` Use async transform if available to transform files with no coverage ([#11852](https://togithub.com/facebook/jest/pull/11852))
- `[jest-util]` Return correct value from `process.send` stub ([#11799](https://togithub.com/facebook/jest/pull/11799))
### [`v27.1.1`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#2711)
[Compare Source](https://togithub.com/facebook/jest/compare/v27.1.0...v27.1.1)
##### Features
- `[jest-runtime]` Add experimental, limited (and undocumented) support for mocking ECMAScript Modules ([#11818](https://togithub.com/facebook/jest/pull/11818))
##### Fixes
- `[jest-resolver]` Support `node:` prefix when importing Node core modules with ESM ([#11817](https://togithub.com/facebook/jest/pull/11817))
- `[jest-types]` Export the `PrettyFormatOptions` interface ([#11801](https://togithub.com/facebook/jest/pull/11801))
### [`v27.1.0`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#2710)
[Compare Source](https://togithub.com/facebook/jest/compare/v27.0.6...v27.1.0)
##### Features
- `[jest-haste-map]` Use watchman suffix-set option for faster file indexing. ([#11784](https://togithub.com/facebook/jest/pull/11784))
- `[jest-cli]` Adds a new config options `snapshotFormat` which offers a way to override any of the formatting settings which come with [pretty-format](https://www.npmjs.com/package/pretty-format#usage-with-options). ([#11654](https://togithub.com/facebook/jest/pull/11654))
- `[jest-reporters]` Expose the `getSummary` util ([#11695](https://togithub.com/facebook/jest/pull/11695)).
- `[jest-resolver]` Support `node:` prefix when importing Node core modules ([#11331](https://togithub.com/facebook/jest/pull/11331))
##### Fixes
- `[jest-each]` Relaxed the validation to allow multibyte characters in headings ([#11575](https://togithub.com/facebook/jest/pull/11575))
- `[jest-environment-jsdom]` Add support for `userAgent` option ([#11773](https://togithub.com/facebook/jest/pull/11773))
- `[jest-environment-node]` Add `Event` and `EventTarget` to node global environment. ([#11727](https://togithub.com/facebook/jest/pull/11727))
- `[jest-mock]` Fix `spyOn` to use `Object.prototype.hasOwnProperty` ([#11721](https://togithub.com/facebook/jest/pull/11721))
- `[jest-resolver]` Add dependency on `jest-haste-map` ([#11759](https://togithub.com/facebook/jest/pull/11759))
- `[jest-types]` Compat with `@types/node` v16 ([#11645](https://togithub.com/facebook/jest/pull/11645))
##### Chore & Maintenance
- `[docs]` Correct `expects.assertions` documentation by adding async/await for asynchronous function.
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box.
This PR contains the following updates:
27.0.6
->27.2.1
cc @tzellman
Release Notes
facebook/jest
### [`v27.2.1`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#2721) [Compare Source](https://togithub.com/facebook/jest/compare/v27.2.0...v27.2.1) ##### Features - `[jest-transform]` Improve the unexpected token error message. ([#11807](https://togithub.com/facebook/jest/pull/11807)) ##### Fixes - `[jest-runtime]` Fix regression when using `jest.isolateModules` and mocks ([#11882](https://togithub.com/facebook/jest/pull/11882)) - `[jest-runtime]` Include test name when importing modules after test has completed ([#11885](https://togithub.com/facebook/jest/pull/11885)) - `[jest-runtime]` Error when ESM import is used after test is torn down ([#11885](https://togithub.com/facebook/jest/pull/11885)) ### [`v27.2.0`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#2720) [Compare Source](https://togithub.com/facebook/jest/compare/v27.1.1...v27.2.0) ##### Features - `[jest-resolver, jest-runtime]` Pass `conditions` to custom resolvers to enable them to implement support for package.json `exports` field ([#11859](https://togithub.com/facebook/jest/pull/11859)) - `[jest-runtime]` Allow custom envs to specify `exportConditions` which is passed together with Jest's own conditions to custom resolvers ([#11863](https://togithub.com/facebook/jest/pull/11863)) ##### Fixes - `[@jest/reporters]` Use async transform if available to transform files with no coverage ([#11852](https://togithub.com/facebook/jest/pull/11852)) - `[jest-util]` Return correct value from `process.send` stub ([#11799](https://togithub.com/facebook/jest/pull/11799)) ### [`v27.1.1`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#2711) [Compare Source](https://togithub.com/facebook/jest/compare/v27.1.0...v27.1.1) ##### Features - `[jest-runtime]` Add experimental, limited (and undocumented) support for mocking ECMAScript Modules ([#11818](https://togithub.com/facebook/jest/pull/11818)) ##### Fixes - `[jest-resolver]` Support `node:` prefix when importing Node core modules with ESM ([#11817](https://togithub.com/facebook/jest/pull/11817)) - `[jest-types]` Export the `PrettyFormatOptions` interface ([#11801](https://togithub.com/facebook/jest/pull/11801)) ### [`v27.1.0`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#2710) [Compare Source](https://togithub.com/facebook/jest/compare/v27.0.6...v27.1.0) ##### Features - `[jest-haste-map]` Use watchman suffix-set option for faster file indexing. ([#11784](https://togithub.com/facebook/jest/pull/11784)) - `[jest-cli]` Adds a new config options `snapshotFormat` which offers a way to override any of the formatting settings which come with [pretty-format](https://www.npmjs.com/package/pretty-format#usage-with-options). ([#11654](https://togithub.com/facebook/jest/pull/11654)) - `[jest-reporters]` Expose the `getSummary` util ([#11695](https://togithub.com/facebook/jest/pull/11695)). - `[jest-resolver]` Support `node:` prefix when importing Node core modules ([#11331](https://togithub.com/facebook/jest/pull/11331)) ##### Fixes - `[jest-each]` Relaxed the validation to allow multibyte characters in headings ([#11575](https://togithub.com/facebook/jest/pull/11575)) - `[jest-environment-jsdom]` Add support for `userAgent` option ([#11773](https://togithub.com/facebook/jest/pull/11773)) - `[jest-environment-node]` Add `Event` and `EventTarget` to node global environment. ([#11727](https://togithub.com/facebook/jest/pull/11727)) - `[jest-mock]` Fix `spyOn` to use `Object.prototype.hasOwnProperty` ([#11721](https://togithub.com/facebook/jest/pull/11721)) - `[jest-resolver]` Add dependency on `jest-haste-map` ([#11759](https://togithub.com/facebook/jest/pull/11759)) - `[jest-types]` Compat with `@types/node` v16 ([#11645](https://togithub.com/facebook/jest/pull/11645)) ##### Chore & Maintenance - `[docs]` Correct `expects.assertions` documentation by adding async/await for asynchronous function.Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.