[jest-runtime] Correct wrapperLength value for ESM modules. (#11893)
27.2.1
Features
[jest-transform] Improve the unexpected token error message. (#11807)
Fixes
[jest-runtime] Fix regression when using jest.isolateModules and mocks (#11882)
[jest-runtime] Include test name when importing modules after test has completed (#11885)
[jest-runtime] Error when ESM import is used after test is torn down (#11885)
27.2.0
Features
[jest-resolver, jest-runtime] Pass conditions to custom resolvers to enable them to implement support for package.json exports field (#11859)
[jest-runtime] Allow custom envs to specify exportConditions which is passed together with Jest's own conditions to custom resolvers (#11863)
Fixes
[@jest/reporters] Use async transform if available to transform files with no coverage (#11852)
[jest-util] Return correct value from process.send stub (#11799)
27.1.1
Features
[jest-runtime] Add experimental, limited (and undocumented) support for mocking ECMAScript Modules (#11818)
Fixes
[jest-resolver] Support node: prefix when importing Node core modules with ESM (#11817)
[jest-types] Export the PrettyFormatOptions interface (#11801)
27.1.0
Features
[jest-haste-map] Use watchman suffix-set option for faster file indexing. (#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. (#11654)
[jest-reporters] Expose the getSummary util (#11695).
[jest-resolver] Support node: prefix when importing Node core modules (#11331)
Fixes
[jest-each] Relaxed the validation to allow multibyte characters in headings (#11575)
[jest-environment-jsdom] Add support for userAgent option (#11773)
[jest-environment-node] Add Event and EventTarget to node global environment. (#11727)
[jest-runtime] Correct wrapperLength value for ESM modules. (#11893)
27.2.1
Features
[jest-transform] Improve the unexpected token error message. (#11807)
Fixes
[jest-runtime] Fix regression when using jest.isolateModules and mocks (#11882)
[jest-runtime] Include test name when importing modules after test has completed (#11885)
[jest-runtime] Error when ESM import is used after test is torn down (#11885)
27.2.0
Features
[jest-resolver, jest-runtime] Pass conditions to custom resolvers to enable them to implement support for package.json exports field (#11859)
[jest-runtime] Allow custom envs to specify exportConditions which is passed together with Jest's own conditions to custom resolvers (#11863)
Fixes
[@jest/reporters] Use async transform if available to transform files with no coverage (#11852)
[jest-util] Return correct value from process.send stub (#11799)
27.1.1
Features
[jest-runtime] Add experimental, limited (and undocumented) support for mocking ECMAScript Modules (#11818)
Fixes
[jest-resolver] Support node: prefix when importing Node core modules with ESM (#11817)
[jest-types] Export the PrettyFormatOptions interface (#11801)
27.1.0
Features
[jest-haste-map] Use watchman suffix-set option for faster file indexing. (#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. (#11654)
[jest-reporters] Expose the getSummary util (#11695).
[jest-resolver] Support node: prefix when importing Node core modules (#11331)
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 commands and options
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)
Bumps jest from 26.6.3 to 27.2.2.
Release notes
Sourced from jest's releases.
... (truncated)
Changelog
Sourced from jest's changelog.
... (truncated)
Commits
f54d96f
v27.2.25cf3294
chore: update changelog for released4fff6a
fix (jest-runtime): correctwrapperLength
value for ESM modules (#11893)da7c4a4
chore: updatenpm
instructions in README (#11890)4f5dab0
chore: force patched version of ansi-regex (#11889)06d2c2c
chore: update lockfile after publish50862b4
v27.2.15aad21f
chore: update changelog for release6175fa1
make the syntax error message more helpful for TS users (#11807)31cad20
fix: include path to test file in "after teardown" error (#11885)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 commands and options
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)